mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #1088 from UndeadKernel/fix_latex_and_flyspell
latex: enable flyspell correctly in latex buffers
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user