diff options
author | William Carroll <wpcarro@gmail.com> | 2020-10-04T15·25+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-10-04T15·25+0100 |
commit | 3ba4112849fe0c8701d0cb844ec4fff308062963 (patch) | |
tree | 084677884ecb59c840e709421965eb6adb5f019a /emacs/.emacs.d/wpc | |
parent | 48d9a7025362cba710cca5b2a94d6e9e7e262048 (diff) |
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. :)
Diffstat (limited to 'emacs/.emacs.d/wpc')
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-misc.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el index f58bdeeee9ad..9d1ba7a54de5 100644 --- a/emacs/.emacs.d/wpc/wpc-misc.el +++ b/emacs/.emacs.d/wpc/wpc-misc.el @@ -127,7 +127,10 @@ ;; git integration (use-package magit :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 #'magit-display-buffer-fullframe-status-v1)) |