diff options
author | Alan Pearce | 2023-11-17 19:36:51 +0100 |
---|---|---|
committer | Alan Pearce | 2023-11-17 19:36:51 +0100 |
commit | 2d8104c4f4a035744ce609e478f8037cdaa9f196 (patch) | |
tree | 75b7c38e1992950e48150e263dac1dcf5b3065df /user | |
parent | 4cce75f31bd17f9d86a91264f38829c51eee80da (diff) | |
download | nixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.tar.lz nixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.tar.zst nixfiles-2d8104c4f4a035744ce609e478f8037cdaa9f196.zip |
Emacs: remove jinx and use flyspell instead
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 8 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 3 insertions, 6 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 diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index cd5c1a74..47206e19 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -119,7 +119,6 @@ in goto-chg helpful ibuffer-project - jinx just-mode justl json-mode |