From 86e5ceb873a498d6cd7853c7db669399bbbe718a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 12 Oct 2024 11:45:32 +1100 Subject: [emacs] Use aspell and en_GB for ispell --- emacs/.emacs.d/init/ycp-editing.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el index 8e6a49e..907c80b 100644 --- a/emacs/.emacs.d/init/ycp-editing.el +++ b/emacs/.emacs.d/init/ycp-editing.el @@ -127,6 +127,16 @@ "M-g M-g" #'avy-goto-line) (setq avy-keys '(97 115 100 102 103 104 106 107 108))) +(my-package ispell + ;; Use aspell: + ;; https://battlepenguin.com/tech/aspell-and-hunspell-a-tale-of-two-spell-checkers/ + ;; also, ispell seems to have problem finding hunspell aff files + ;; using `ispell-find-hunspell-dictionaries', even though the files + ;; are available. + (setq ispell-program-name "aspell" + ispell-dictionary "en_GB") + ) + (my-package flyspell (my-keybind flyspell-mode-map "C-." nil -- cgit v1.2.3