[Emacs] Fix some flyspell config
This commit is contained in:
parent
d6db34736d
commit
07dd65abf1
@ -4290,10 +4290,9 @@ icons!
|
|||||||
:defer t
|
:defer t
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:config
|
:config
|
||||||
(require 'cl-lib)
|
(add-to-list 'ispell-skip-region-alist '(":\\(PROPERTIES\\|LOGBOOK\\):" . ":END:"))
|
||||||
;; (cl-pushnew 'ispell-skip-region-alist '(":\\(PROPERTIES\\|LOGBOOK\\):" . ":END:"))
|
(add-to-list 'ispell-skip-region-alist '("#\\+BEGIN_SRC" . "#\\+END_SRC"))
|
||||||
;; (cl-pushnew 'ispell-skip-region-alist '("#\\+BEGIN_SRC" . "#\\+END_SRC"))
|
(add-to-list 'ispell-skip-region-alist '("#\\+BEGIN_EXAMPLE" . "#\\+END_EXAMPLE"))
|
||||||
;; (cl-pushnew 'ispell-skip-region-alist '("#\\+BEGIN_EXAMPLE" . "#\\+END_EXAMPLE"))
|
|
||||||
(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")
|
||||||
ispell-aspell-dict-dir (ispell-get-aspell-config-value "dict-dir")
|
ispell-aspell-dict-dir (ispell-get-aspell-config-value "dict-dir")
|
||||||
|
Loading…
Reference in New Issue
Block a user