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.
This commit is contained in:
parent
d83ba452ef
commit
db2949ff32
4 changed files with 57 additions and 6 deletions
|
@ -17,6 +17,8 @@
|
|||
markdown-gfm-uppercase-checkbox t) ; for compat with org-mode
|
||||
|
||||
:config
|
||||
(set-flyspell-predicate! '(markdown-mode gfm-mode) #'+markdown-flyspell-word-p)
|
||||
|
||||
(defun +markdown|set-fill-column-and-line-spacing ()
|
||||
(setq-local line-spacing 2)
|
||||
(setq-local fill-column 80))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue