From ace4ee981f4545ddb91c9e418939d3cce0fd3b1c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 08:45:05 -0800 Subject: magit: pull the proper package It looks like these packages were moved to a new one named `git-modes'. --- emacs/custom/fcuny-git.el | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'emacs') 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 -- cgit 1.4.1