all repos — nixfiles @ 9abfdd047d60f8762e19d1f6dc905b02866de771

System and user configuration, managed by nix and home-manager

emacs: replace wucuo with jinx
Alan Pearce alan@alanpearce.eu
Thu, 20 Apr 2023 11:00:35 +0200
commit

9abfdd047d60f8762e19d1f6dc905b02866de771

parent

b08f86a1f2e29304dee1b29afa7cb565a5cfcf1a

2 files changed, 7 insertions(+), 7 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1006,13 +1006,13 @@ (use-package flyspell-correct-avy-menu   :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
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -126,6 +126,7 @@ git-modes         git-timemachine
         goto-chg
         helpful
+        jinx
         json-mode
         lua-mode
         lispy
@@ -151,7 +152,6 @@ undo-tree         use-package
         vertico
         vertico-prescient
-        wucuo
         wgrep-ag
         ws-butler
         which-key