[Misc] Explicitly enable `global-git-commit-mode' in magit
This commit is contained in:
parent
fd9c75d693
commit
5d039a026d
4
init.el
4
init.el
|
@ -573,6 +573,9 @@
|
||||||
hydra-zoom/body
|
hydra-zoom/body
|
||||||
hydra-rectangle/body))
|
hydra-rectangle/body))
|
||||||
|
|
||||||
|
(use-package git-commit
|
||||||
|
:commands (global-git-commit-mode))
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:commands (magit-status)
|
:commands (magit-status)
|
||||||
:init (setq magit-diff-refine-hunk nil
|
:init (setq magit-diff-refine-hunk nil
|
||||||
|
@ -581,6 +584,7 @@
|
||||||
magit-completing-read-function 'ivy-completing-read)
|
magit-completing-read-function 'ivy-completing-read)
|
||||||
:config (progn
|
:config (progn
|
||||||
(global-magit-file-mode -1)
|
(global-magit-file-mode -1)
|
||||||
|
(global-git-commit-mode +1)
|
||||||
|
|
||||||
(with-demoted-errors "Non-Fatal Error: %s"
|
(with-demoted-errors "Non-Fatal Error: %s"
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
|
|
Loading…
Reference in New Issue