summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-20 11:00:35 +0200
committerAlan Pearce2023-04-20 11:00:35 +0200
commit9abfdd047d60f8762e19d1f6dc905b02866de771 (patch)
tree8c1d64ceacd313063f061c1a625b25637e56917d /user/emacs
parentb08f86a1f2e29304dee1b29afa7cb565a5cfcf1a (diff)
downloadnixfiles-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.el12
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