summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-02 18:54:26 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-02 18:54:26 -0800
commit8cf1a05f8726a78836bfb5ed0696614193cad6f7 (patch)
treecaa0cbb02f50dd7563c0b4219d2001a906843a47 /emacs/custom
parentremove non-emacs configuration (diff)
downloademacs.d-8cf1a05f8726a78836bfb5ed0696614193cad6f7.tar.gz
git: ensure proper mode are used
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-git.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el
index eac237c..1e15d32 100644
--- a/emacs/custom/fcuny-git.el
+++ b/emacs/custom/fcuny-git.el
@@ -2,12 +2,16 @@
 (require 'fcuny-vars)
 
 (use-package gitconfig-mode
+  :mode ((".gitconfig" . gitconfig-mode)
+         (".gitmodules" . gitconfig-mode))
   :ensure t)
 
 (use-package gitattributes-mode
+  :mode ((".gitattributes" . gitattributes-mode))
   :ensure t)
 
 (use-package gitignore-mode
+  :mode ((".gitignore" . gitignore-mode))
   :ensure t)
 
 (use-package magit