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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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