From: Augusto Stoffel Date: Wed, 7 Aug 2024 12:44:57 +0000 (+0100) Subject: Eglot: send more accurate languageId strings to TeX servers X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c16647f03976002210653d84ba0128a89548779;p=emacs.git Eglot: send more accurate languageId strings to TeX servers bug#72343 * lisp/progmodes/eglot.el (eglot-server-programs): Rework TeX-mode entry (cherry picked from commit 423c86cbde7b1ed1d42c7e21fef6e8be872857b0) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index f71ab3c6588..f13470260ea 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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"))