Commit graph

11 commits

Author SHA1 Message Date
Henrik Lissner
10cef7a887
tools/flyspell: add +prog flag #1418
Enables flyspell-prog-mode on prog-mode-hook.
2019-05-19 02:18:25 -04:00
Henrik Lissner
f97b5b70e3
tools/flyspell: reduce english-centric defaults
Falls back to system defaults, which are a little more reliable.
2019-05-06 19:39:35 -04:00
Henrik Lissner
2c81ee4d98
tools/flyspell: minor refactor
- Allow flyspell-correct-* packages to be disabled by the end-user
  without breaking errors.
- Tie proselint detection to flycheck (which is what uses it)
2019-04-02 15:47:09 -04:00
Henrik Lissner
6a99d7840b
Correct minor typo in warning message 2019-04-02 14:04:10 -04:00
Henrik Lissner
a08e00c4d4
Refactor aspell/hunspell initialization 2019-04-02 14:03:27 -04:00
UndeadKernel
76f98043f1 flyspell: allow enabling either aspell or hunspell
* Previously, a user could not choose which spell checker to use.
  Instead, the first one found was used.
* This PR adds the flags `+aspell` and `+hunspell` which allow a user to
  choose which spellchcker to use (even if both are installed).
* Report an error if spell checking is enabled but no spell checker
  is found.
2019-03-18 15:59:55 +01:00
Henrik Lissner
b5dcfd96d3
tools/flyspell: new flyspell-mode! autodef 2019-03-04 04:57:07 -05:00
Henrik Lissner
7c9e96da87
General module refactor 2019-03-02 02:04:11 -05:00
Henrik Lissner
594df64913
Smarter RET in normal mode over flyspell regions
Will now trigger flyspell-correct-word-generic
2019-02-26 16:55:29 -05:00
Henrik Lissner
db2949ff32
Improve flyspell support
+ Make flyspell more selective about what to scan in markdown buffers.
+ Don't mark duplicates when proseline or langtool are present.
+ Add set-flyspell-predicate! for seeing mode-specific word predicates.
2019-02-26 16:55:28 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00