diff options
author | Franck Cuny <fcuny@roblox.com> | 2022-02-03 08:45:05 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@roblox.com> | 2022-02-03 08:45:05 -0800 |
commit | ace4ee981f4545ddb91c9e418939d3cce0fd3b1c (patch) | |
tree | 6061e373081770d5a7503133240dc65d6cca261f /emacs | |
parent | git: ensure proper mode are used (diff) | |
download | emacs.d-ace4ee981f4545ddb91c9e418939d3cce0fd3b1c.tar.gz |
magit: pull the proper package
It looks like these packages were moved to a new one named `git-modes'.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/fcuny-git.el | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el index 1e15d32..855dd79 100644 --- a/emacs/custom/fcuny-git.el +++ b/emacs/custom/fcuny-git.el @@ -1,18 +1,15 @@ (require 'fcuny-defuns) (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 git-modes + :ensure t + :mode + ("/\\.gitconfig\\'" . gitconfig-mode) + ("/\\.gitmodules\\'" . gitconfig-mode) + ("/\\.git/config\\'" . gitconfig-mode) + ("/\\.gitignore\\'" . gitignore-mode) + ("/.dockerignore\\'" . gitignore-mode) + ("/\\.gitattributes//" . gitattributes-mode)) (use-package magit :ensure t |