Clean up
This commit is contained in:
parent
e9388b54c2
commit
9018cbf229
4 changed files with 24 additions and 35 deletions
|
@ -1,28 +1,27 @@
|
|||
;;; core-vcs.el --- version control awareness
|
||||
|
||||
(use-package git-commit-mode ;
|
||||
:mode (("/COMMIT_EDITMSG\\'" . git-commit-mode)
|
||||
("/NOTES_EDITMSG\\'" . git-commit-mode)
|
||||
("/MERGE_MSG\\'" . git-commit-mode)
|
||||
("/TAG_EDITMSG\\'" . git-commit-mode)
|
||||
("/PULLREQ_EDITMSG\\'" . git-commit-mode))
|
||||
:mode ("/COMMIT_EDITMSG\\'"
|
||||
"/NOTES_EDITMSG\\'"
|
||||
"/MERGE_MSG\\'"
|
||||
"/TAG_EDITMSG\\'"
|
||||
"/PULLREQ_EDITMSG\\'")
|
||||
:config
|
||||
(evil-set-initial-state 'git-commit-mode 'insert))
|
||||
|
||||
(use-package git-rebase-mode
|
||||
:mode ("/git-rebase-todo\\'" . git-rebase-mode)
|
||||
:mode "/git-rebase-todo\\'"
|
||||
:config
|
||||
(evil-set-initial-state 'git-rebase-mode 'insert))
|
||||
|
||||
(use-package gitconfig-mode
|
||||
:mode (("/\\.?git/?config\\'" . gitconfig-mode)
|
||||
("/\\.gitmodules\\'" . gitconfig-mode))
|
||||
:mode ("/\\.?git/?config\\'" "/\\.gitmodules\\'")
|
||||
:init (add-hook 'gitconfig-mode-hook 'flyspell-mode))
|
||||
|
||||
(use-package gitignore-mode
|
||||
:mode (("/\\.gitignore\\'" . gitignore-mode)
|
||||
("/\\.git/info/exclude\\'" . gitignore-mode)
|
||||
("/git/ignore\\'" . gitignore-mode)))
|
||||
:mode ("/\\.gitignore\\'"
|
||||
"/\\.git/info/exclude\\'"
|
||||
"/git/ignore\\'"))
|
||||
|
||||
(use-package diff-hl
|
||||
:init (setq diff-hl-draw-borders nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue