This commit is contained in:
Henrik Lissner 2015-07-26 13:14:31 +02:00
parent e9388b54c2
commit 9018cbf229
4 changed files with 24 additions and 35 deletions

View file

@ -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)