feature/{syntax-checker,spellcheck} -> tools/fly{check,spell}

This commit is contained in:
Henrik Lissner 2019-02-22 00:20:29 -05:00
parent 88f50bbdec
commit 69ed1a4a99
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
46 changed files with 147 additions and 110 deletions

View file

@ -65,7 +65,7 @@ If no viewers are found, `latex-preview-pane' is used.")
'local))
;; Enable rainbow mode after applying styles to the buffer
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
(when (featurep! :feature spellcheck)
(when (featurep! :tools flyspell)
(add-hook 'latex-mode-local-vars-hook #'flyspell-mode))
;; All these excess pairs dramatically slow down typing in latex buffers, so
;; we remove them. Let snippets do their job.