summary refs log tree commit diff stats
path: root/user
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
parentb08f86a1f2e29304dee1b29afa7cb565a5cfcf1a (diff)
downloadnixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.tar.lz
nixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.tar.zst
nixfiles-9abfdd047d60f8762e19d1f6dc905b02866de771.zip
emacs: replace wucuo with jinx
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el12
-rw-r--r--user/settings/emacs.nix2
2 files changed, 7 insertions, 7 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
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 59035f81..755b8b95 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -126,6 +126,7 @@ in
         git-timemachine
         goto-chg
         helpful
+        jinx
         json-mode
         lua-mode
         lispy
@@ -151,7 +152,6 @@ in
         use-package
         vertico
         vertico-prescient
-        wucuo
         wgrep-ag
         ws-butler
         which-key