mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Append flyspell-mode to LaTeX-mode-hook #654
If run too soon, the user has no opportunity to change +spellcheck-immediately.
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
;; Enable rainbow mode after applying styles to the buffer
|
||||
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
||||
(when (featurep! :feature spellcheck)
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode))
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode :append))
|
||||
;; Use chktex to search for errors in a latex file.
|
||||
(setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 %s")
|
||||
;; Set a custom item indentation
|
||||
|
Reference in New Issue
Block a user