Merge pull request #2410 from Geospace/develop
Move an aspell specific argument to appropriate block
This commit is contained in:
commit
c19ffea299
1 changed files with 1 additions and 3 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue