aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-git.el22
1 files changed, 10 insertions, 12 deletions
diff --git a/modules/init-git.el b/modules/init-git.el
index c191f1d..01b37e5 100644
--- a/modules/init-git.el
+++ b/modules/init-git.el
@@ -66,18 +66,16 @@
(use-package git-modes
:ensure t
- :config
- (setq auto-mode-alist
- (append auto-mode-alist
- '(("/\\.?git/?config$" . gitconfig-mode)
- ("/\\.gitmodules$" . gitconfig-mode)
- ("/\\.gitignore$" . gitignore-mode)
- ("/\\.git/info/exclude$" . gitignore-mode)
- ("/git/ignore$" . gitignore-mode)
- ("/.dockerignore\\'" . gitignore-mode)
- ("/\\.gitattributes\\'" . gitattributes-mode)
- ("/info/attributes\\'" . gitattributes-mode)
- ("/git/attributes\\'" . gitattributes-mode)))))
+ :mode
+ ("/\\.?git/?config$" . gitconfig-mode)
+ ("/\\.gitmodules$" . gitconfig-mode)
+ ("/\\.gitignore$" . gitignore-mode)
+ ("/\\.git/info/exclude$" . gitignore-mode)
+ ("/git/ignore$" . gitignore-mode)
+ ("/.dockerignore\\'" . gitignore-mode)
+ ("/\\.gitattributes\\'" . gitattributes-mode)
+ ("/info/attributes\\'" . gitattributes-mode)
+ ("/git/attributes\\'" . gitattributes-mode))
(use-package git-timemachine
:ensure t