From 2c16647f03976002210653d84ba0128a89548779 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Wed, 7 Aug 2024 13:44:57 +0100 Subject: [PATCH] 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) --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- 2.39.2