aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-11-02 22:59:22 -0500
committerJesús <heckyel@hyperbola.info>2021-11-02 22:59:22 -0500
commit94d28d7a2d35efaf99a2857fdd4563b42bcb975d (patch)
treebdfdd930cbbf4ad2b77e991294ec82d812f7d2d8
parent1c82edd5bbf6eb4a12627a048c8975b8e8794287 (diff)
downloademacs-personal-94d28d7a2d35efaf99a2857fdd4563b42bcb975d.tar.lz
emacs-personal-94d28d7a2d35efaf99a2857fdd4563b42bcb975d.tar.xz
emacs-personal-94d28d7a2d35efaf99a2857fdd4563b42bcb975d.zip
simplify git-modes package
-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