mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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
|
;; Plugins
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
;; Default language setting.
|
||||||
|
(defvar ispell-dictionary "english")
|
||||||
|
|
||||||
|
|
||||||
(after! tex
|
(after! tex
|
||||||
;; Set some varibles to fontify common LaTeX commands.
|
;; Set some varibles to fontify common LaTeX commands.
|
||||||
(load! "+fontification")
|
(load! "+fontification")
|
||||||
@ -69,8 +73,6 @@
|
|||||||
(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 'LaTeX-mode-hook #'flyspell-mode))
|
(add-hook 'LaTeX-mode-hook #'flyspell-mode))
|
||||||
;; Default language setting.
|
|
||||||
(setq ispell-dictionary "english")
|
|
||||||
;; Use chktex to search for errors in a latex file.
|
;; Use chktex to search for errors in a latex file.
|
||||||
(setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 %s")
|
(setcar (cdr (assoc "Check" TeX-command-list)) "chktex -v6 %s")
|
||||||
;; Set a custom item indentation
|
;; Set a custom item indentation
|
||||||
|
Reference in New Issue
Block a user