Skip to content

Commit 9784627

Browse files
authored
Handle AUCTeX's new mode naming convention (#41)
1 parent 84d9cd8 commit 9784627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-ltex.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ https://github.com/valentjn/ltex-ls"
5050

5151
(defcustom lsp-ltex-active-modes
5252
'( text-mode
53-
bibtex-mode context-mode latex-mode
53+
bibtex-mode context-mode
54+
latex-mode LaTeX-mode ;; AUCTeX 14+ has renamed latex-mode to LaTeX-mode
5455
markdown-mode org-mode
5556
rst-mode)
5657
"List of major mode that work with LTEX Language Server."

0 commit comments

Comments
 (0)