diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-10-16 12:19:19 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-10-16 12:19:19 +0100 |
| commit | 76b96b1dc88be642534baea32f9ba0f2603e9be3 (patch) | |
| tree | 28a6f4e3bd86df8be7b64f413ab19445133f2780 | |
| parent | eb676e8cfa3cd8f68a3a430cafc41dda96f8870e (diff) | |
emacs: Enable Flyspell in git-commit-mode
| -rw-r--r-- | emacs/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index f106492..c22077f 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -159,7 +159,9 @@ :ensure t) (use-package magit - :init (setq git-commit-summary-max-length 50) + :init + (setq git-commit-summary-max-length 50) + (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell) :bind (("C-c k" . magit-status)) :ensure t) |
