Merge pull request #1088 from UndeadKernel/fix_latex_and_flyspell
latex: enable flyspell correctly in latex buffers
This commit is contained in:
commit
05e52b7e29
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ If no viewers are found, `latex-preview-pane' is used.")
|
||||||
;; Enable rainbow mode after applying styles to the buffer
|
;; Enable rainbow mode after applying styles to the buffer
|
||||||
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
||||||
(when (featurep! :feature spellcheck)
|
(when (featurep! :feature spellcheck)
|
||||||
(add-hook 'TeX-mode-local-vars-hook #'flyspell-mode))
|
(add-hook 'latex-mode-local-vars-hook #'flyspell-mode))
|
||||||
;; All these excess pairs dramatically slow down typing in latex buffers, so
|
;; All these excess pairs dramatically slow down typing in latex buffers, so
|
||||||
;; we remove them. Let snippets do their job.
|
;; we remove them. Let snippets do their job.
|
||||||
(after! smartparens-latex
|
(after! smartparens-latex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue