From e828bfdd632049d0dadeeea736fe59958029a669 Mon Sep 17 00:00:00 2001 From: Xuan Wang Date: Tue, 16 Apr 2024 22:34:27 -0400 Subject: [PATCH] Make latex plugin also works for AUCTeX too Emacs now ship AUCTeX by default, so the default mode for latex is now provided by AUCTeX, named as LaTeX-mode, to replace the old latex-mode provided by tex.el. --- evil-matchit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-matchit.el b/evil-matchit.el index 425aee2..cc74c4c 100644 --- a/evil-matchit.el +++ b/evil-matchit.el @@ -221,7 +221,7 @@ Some modes can be toggle on/off in the hook" (evilmi-load-plugin-rules '(markdown-mode) '(markdown)) ;; Latex - (evilmi-load-plugin-rules '(latex-mode) '(latex simple)) + (evilmi-load-plugin-rules '(latex-mode LaTeX-mode) '(latex simple)) ;; Ocaml (evilmi-load-plugin-rules '(tuareg-mode) '(simple ocaml))