mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set default ispell-dictionary sooner #630
This makes it easier to change and won't override user's customizations.
This commit is contained in:
@ -14,6 +14,10 @@
|
||||
;; Plugins
|
||||
;;
|
||||
|
||||
;; Default language setting.
|
||||
(defvar ispell-dictionary "english")
|
||||
|
||||
|
||||
(after! tex
|
||||
;; Set some varibles to fontify common LaTeX commands.
|
||||
(load! "+fontification")
|
||||
@ -69,8 +73,6 @@
|
||||
(add-hook 'TeX-update-style-hook #'rainbow-delimiters-mode)
|
||||
(when (featurep! :feature spellcheck)
|
||||
(add-hook 'LaTeX-mode-hook #'flyspell-mode))
|
||||
;; Default language setting.
|
||||
(setq ispell-dictionary "english")
|
||||
;; 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