emacs-languagetool / flycheck-languagetool

Flycheck support for LanguageTool
GNU General Public License v3.0
54 stars 8 forks source link

Support for disabling rules w/ flyspell-mode #17

Closed enikko closed 2 years ago

enikko commented 2 years ago

When flyspell-mode is active, spellchecking is disabled for languagetool (which is a nice feature). However, this injects a disabledRules command to the query that overrides any possibility to add more disabledRules. Current workaround is to modify the internal variable flycheck-languagetool--spelling-rules to add the disabled check.

Proposed solution: Add a new customisation variable flycheck-languagetool-disabled-rules (list of strings).