tools/flyspell: add +everywhere feature
This commit is contained in:
parent
14c87e6943
commit
684bdda4b2
2 changed files with 4 additions and 3 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue