Enable spell-checking during magit commit

This is another (overdue) change about which I'm quite excited. Add
spell-checking to my Git commit buffers. :)
This commit is contained in:
William Carroll 2020-10-04 16:25:15 +01:00
parent 48d9a70253
commit 3ba4112849

View file

@ -127,7 +127,10 @@
;; git integration ;; git integration
(use-package magit (use-package magit
:config :config
(add-hook 'git-commit-setup-hook (lambda () (company-mode -1))) (add-hook 'git-commit-setup-hook
(lambda ()
(company-mode -1)
(flyspell-mode 1)))
(setq magit-display-buffer-function (setq magit-display-buffer-function
#'magit-display-buffer-fullframe-status-v1)) #'magit-display-buffer-fullframe-status-v1))