diff options
author | Yuchen Pei <id@ypei.org> | 2024-10-12 11:45:32 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-10-12 11:45:32 +1100 |
commit | 86e5ceb873a498d6cd7853c7db669399bbbe718a (patch) | |
tree | d04d2d0376e32afc5d06190dfd43502d7dab91ef | |
parent | 67479a0b5f02c51511bd2827a7f3f22e8fc90cf2 (diff) |
[emacs] Use aspell and en_GB for ispell
-rw-r--r-- | emacs/.emacs.d/init/ycp-editing.el | 10 |
1 files changed, 10 insertions, 0 deletions
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 |