summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2023-11-17 19:36:51 +0100
committerAlan Pearce2023-11-17 19:36:51 +0100
commit2d8104c4f4a035744ce609e478f8037cdaa9f196 (patch)
tree75b7c38e1992950e48150e263dac1dcf5b3065df /user/emacs/init.el
parent4cce75f31bd17f9d86a91264f38829c51eee80da (diff)
downloadnixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.tar.lz
nixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.tar.zst
nixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.zip
Emacs: remove jinx and use flyspell instead
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 9aee9f05..b9c14a47 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1019,11 +1019,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (setq-default ispell-dictionary "en_GB-ise-w_accents")
 (setq ispell-extra-args '("--sug-mode=ultra" "--camel-case"))
 
-(use-package jinx
-  :ghook ('emacs-startup-hook #'global-jinx-mode)
-  :general ([remap ispell-word] #'jinx-correct)
-  :config (progn
-            (setq jinx-languages "en_GB en de_DE")))
+(use-package flyspell
+  :ghook ('prog-mode-hook #'flyspell-prog-mode)
+  :ghook ('text-mode-hook #'flyspell-mode))
 
 (use-package feature-mode
   :defer t