From 15f98041ccd137caaa27d7c82c539e0cf1d73fde Mon Sep 17 00:00:00 2001 From: noa Date: Thu, 24 Oct 2024 15:12:15 +0800 Subject: Don't let jinx report chinese as spelling errors --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index c2b13ac..36f2d58 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -195,10 +195,11 @@ :ensure t :hook (text-mode . jinx-mode) :bind - ("M-$" . jinx-correct) ;; replaces ispell-word + ([remap ispell-word] . jinx-correct) ;; replaces ispell-word ("C-M-$" . jinx-languages) :config (put 'jinx-overlay 'mouse-face '(jinx-misspelled highlight)) ;; Use standard mouse face for jinx overlays + (add-to-list 'jinx-exclude-regexps '(t "\\cc")) ;; Don't check chinese characters ) ;; Automatically creates an abbrev for words i correct, so i don't make the same mistake twice -- cgit 1.4.1-2-gfad0