tools/flyspell: add +everywhere feature

This commit is contained in:
Henrik Lissner 2019-12-24 16:43:30 -05:00
parent 14c87e6943
commit 684bdda4b2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 3 deletions

View file

@ -50,8 +50,9 @@
flyspell-issue-message-flag nil)
(add-hook 'text-mode-hook #'flyspell-mode)
(when (featurep! +prog)
(add-hook 'prog-mode-hook #'flyspell-prog-mode))
(when (featurep! +everywhere)
(add-hook! '(conf-mode-hook prog-mode-hook)
#'flyspell-prog-mode))
(add-hook! 'flyspell-mode-hook
(defun +flyspell-inhibit-duplicate-detection-maybe-h ()