From f126726c93fda8d38b22087b560ce28a64ad9f64 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 23 Apr 2024 07:51:45 -0700 Subject: use aspell for spell checking --- config/init-osx.el | 4 +++- config/init-writing.el | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/init-osx.el b/config/init-osx.el index a9fe148..175ffbd 100644 --- a/config/init-osx.el +++ b/config/init-osx.el @@ -21,7 +21,9 @@ :demand t :if (memq window-system '(mac ns)) :config - (exec-path-from-shell-initialize)) + (exec-path-from-shell-initialize) + :custom + (exec-path-from-shell-variables '("ASPELL_CONF"))) (provide 'init-osx) diff --git a/config/init-writing.el b/config/init-writing.el index 578ad86..9cd3370 100644 --- a/config/init-writing.el +++ b/config/init-writing.el @@ -17,6 +17,7 @@ (prog-mode . flyspell-prog-mode)) :diminish flyspell-mode :custom + (ispell-program-name "aspell") (ispell-silently-savep t) (ispell-local-dictionary "en_US") (ispell-extra-args '("--camel-case"))) -- cgit 1.4.1