]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: send more accurate languageId strings to TeX servers
authorAugusto Stoffel <arstoffel@gmail.com>
Wed, 7 Aug 2024 12:44:57 +0000 (13:44 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 07:29:06 +0000 (09:29 +0200)
bug#72343

* lisp/progmodes/eglot.el (eglot-server-programs): Rework TeX-mode entry

(cherry picked from commit 423c86cbde7b1ed1d42c7e21fef6e8be872857b0)

lisp/progmodes/eglot.el

index f71ab3c6588a60f3c52a246dd8f5b17b80db8c12..f13470260ea93f8084cf4eb5163832a2a4f346ab 100644 (file)
@@ -292,7 +292,7 @@ automatically)."
     (scala-mode . ,(eglot-alternatives
                     '("metals" "metals-emacs")))
     (racket-mode . ("racket" "-l" "racket-langserver"))
-    ((tex-mode context-mode texinfo-mode bibtex-mode)
+    ((latex-mode plain-tex-mode context-mode texinfo-mode bibtex-mode tex-mode)
      . ,(eglot-alternatives '("digestif" "texlab")))
     (erlang-mode . ("erlang_ls" "--transport" "stdio"))
     ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio"))