diff options
author | Alan Pearce | 2023-04-20 11:00:35 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-20 11:00:35 +0200 |
commit | 9abfdd047d60f8762e19d1f6dc905b02866de771 (patch) | |
tree | 8c1d64ceacd313063f061c1a625b25637e56917d /user/emacs | |
parent | b08f86a1f2e29304dee1b29afa7cb565a5cfcf1a (diff) | |
download | nixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.tar.lz nixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.tar.zst nixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.zip |
emacs: replace wucuo with jinx
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 01cd750f..ee6d43cc 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1006,13 +1006,13 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :after flyspell-correct :init (progn (setq flyspell-correct-interface #'flyspell-correct-avy-menu))) -(use-package wucuo - :ghook ('(prog-mode-hook - text-mode-hook) - #'wucuo-start) + +(use-package jinx + :ghook ('emacs-startup-hook #'global-jinx-mode) + :general ([remap ispell-word] #'jinx-correct) :config (progn - (setq wucuo-aspell-language-to-use "en_GB-ise-w_accents" - wucuo-enable-camel-case-algorithm-p nil))) + (load-library "jinx-mod.so") + (setq jinx-languages "en_GB en de_DE"))) (use-package feature-mode :config (progn |