Merge pull request #2410 from Geospace/develop

Move an aspell specific argument to appropriate block
This commit is contained in:
Henrik Lissner 2020-01-23 17:20:27 -05:00 committed by GitHub
commit c19ffea299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,6 @@
(defvar ispell-dictionary "en_US")
(after! ispell
(add-to-list 'ispell-extra-args "--dont-tex-check-comments")
;; Don't spellcheck org blocks
(pushnew! ispell-skip-region-alist
'(":\\(PROPERTIES\\|LOGBOOK\\):" . ":END:")
@ -22,7 +20,7 @@
((executable-find "hunspell") 'hunspell))
(`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
(defun +spell-remove-run-together-switch-for-aspell-h ()