emacs: Add hunspell dictionaries

This fixes Jinx marking everything as incorrect spelling problem. The
dictionaries aren't that much different from before, but oh well. I'll
take what is working for now.
This commit is contained in:
Payas Relekar 2023-11-11 13:46:59 +05:30
parent 1e20c38277
commit 8c4b9c4663
2 changed files with 7 additions and 2 deletions

View file

@ -958,7 +958,8 @@ All the modifications that are necessary enough to exist, but not big enough to
:commands (jinx-correct global-jinx-mode)
:init
(map! :map global-map
:desc "Jinx" "M-$" #'jinx-correct))
:desc "Jinx" "M-$" #'jinx-correct)
(setq ispell-really-enchant t))
#+end_src
** WSL

View file

@ -25,7 +25,7 @@ in
enable = true;
executable = false;
recursive = false;
text = "*:aspell";
text = "*:aspell,hunspell";
target = "/home/payas/.config/enchant/enchant.ordering";
};
};
@ -67,6 +67,10 @@ in
hi
]))
hunspell
hunspellDicts.en-us-large
hunspellDicts.en_GB-large
# used by jinx package for spell checking
enchant