diff --git a/modules/feature/spellcheck/config.el b/modules/feature/spellcheck/config.el index 712877181..435d2c5f0 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -7,6 +7,9 @@ Since spellchecking can be slow in some buffers, this can be disabled with: (setq-hook! 'LaTeX-mode-hook +spellcheck-immediately nil)") +;; `ispell' +(defvar ispell-dictionary "english") + (def-package! flyspell ; built-in :defer t :init diff --git a/modules/lang/latex/config.el b/modules/lang/latex/config.el index 8462c0453..750b988af 100644 --- a/modules/lang/latex/config.el +++ b/modules/lang/latex/config.el @@ -14,10 +14,6 @@ ;; Plugins ;; -;; Default language setting. -(defvar ispell-dictionary "english") - - (after! tex ;; Set some varibles to fontify common LaTeX commands. (load! "+fontification")