summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
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