tools/flyspell: enable flyspell-mode in text modes

This commit is contained in:
Henrik Lissner
2019-10-19 14:03:32 -04:00
parent f9280bcec3
commit c6121b98b5

View File

@ -49,6 +49,7 @@
;; messages for every word when checking the entire buffer ;; messages for every word when checking the entire buffer
flyspell-issue-message-flag nil) flyspell-issue-message-flag nil)
(add-hook 'text-mode-hook #'flyspell-mode)
(when (featurep! +prog) (when (featurep! +prog)
(add-hook 'prog-mode-hook #'flyspell-prog-mode)) (add-hook 'prog-mode-hook #'flyspell-prog-mode))