checkers/spell: add +flyspell flag

spell-fu lacks support for multiple dictionaries, affix expansion, and
many non-English dictionaries, so I've added back flyspell support to
the spell module, but opt-in, because it is still the significantly
slower option and spell-fu may support them one day.

If not, tlikonen/wcheck-mode is another alternative to consider.

Fixes #3813
This commit is contained in:
Henrik Lissner 2020-08-23 18:48:50 -04:00
parent 97471f11db
commit e3750dbf66
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
8 changed files with 313 additions and 111 deletions

View file

@ -1,4 +1,12 @@
;; -*- no-byte-compile: t; -*-
;;; checkers/spell/packages.el
(package! spell-fu :pin "e94d01cdc822e02968971cde09276047a5d55772")
(if (not (featurep! +flyspell))
(package! spell-fu :pin "e94d01cdc822e02968971cde09276047a5d55772")
(package! flyspell-correct :pin "dea1290a371c540dde7b8d0eef7a12d92f7a0b83")
(cond ((featurep! :completion ivy)
(package! flyspell-correct-ivy))
((featurep! :completion helm)
(package! flyspell-correct-helm))
((package! flyspell-correct-popup)))
(package! flyspell-lazy :pin "3ebf68cc9eb10c972a2de8d7861cbabbbce69570"))