mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Move an aspell specific argument to appropriate block
This commit is contained in:
@ -3,8 +3,6 @@
|
|||||||
(defvar ispell-dictionary "en_US")
|
(defvar ispell-dictionary "en_US")
|
||||||
|
|
||||||
(after! ispell
|
(after! ispell
|
||||||
(add-to-list 'ispell-extra-args "--dont-tex-check-comments")
|
|
||||||
|
|
||||||
;; Don't spellcheck org blocks
|
;; Don't spellcheck org blocks
|
||||||
(pushnew! ispell-skip-region-alist
|
(pushnew! ispell-skip-region-alist
|
||||||
'(":\\(PROPERTIES\\|LOGBOOK\\):" . ":END:")
|
'(":\\(PROPERTIES\\|LOGBOOK\\):" . ":END:")
|
||||||
@ -22,7 +20,7 @@
|
|||||||
((executable-find "hunspell") 'hunspell))
|
((executable-find "hunspell") 'hunspell))
|
||||||
(`aspell
|
(`aspell
|
||||||
(setq ispell-program-name "aspell"
|
(setq ispell-program-name "aspell"
|
||||||
ispell-extra-args '("--sug-mode=ultra" "--run-together"))
|
ispell-extra-args '("--sug-mode=ultra" "--run-together" "--dont-tex-check-comments"))
|
||||||
|
|
||||||
(add-hook! 'text-mode-hook
|
(add-hook! 'text-mode-hook
|
||||||
(defun +spell-remove-run-together-switch-for-aspell-h ()
|
(defun +spell-remove-run-together-switch-for-aspell-h ()
|
||||||
|
Reference in New Issue
Block a user