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

@ -235,7 +235,7 @@ Small modules that give Emacs access to external tools & services.
+ [[file:../modules/tools/ein/README.org][ein]] - TODO
+ [[file:../modules/tools/eval/README.org][eval]] =+overlay= - REPL & code evaluation support for a variety of languages
+ flycheck - Live error/warning highlights
+ flyspell - Spell checking
+ flyspell =+everywhere= - Spell checking
+ gist - TODO
+ [[file:../modules/tools/lookup/README.org][lookup]] =+dictionary +docsets= - Universal jump-to & documentation lookup
backend

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 ()