From b2e6a069f02a6798b2c8b813834f0f5c620311a1 Mon Sep 17 00:00:00 2001 From: Geographer Date: Thu, 23 Jan 2020 10:52:44 +0000 Subject: [PATCH] Move an aspell specific argument to appropriate block --- modules/checkers/spell/config.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/checkers/spell/config.el b/modules/checkers/spell/config.el index 6c0fc604d..14fd2912e 100644 --- a/modules/checkers/spell/config.el +++ b/modules/checkers/spell/config.el @@ -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 ()