From 76a658aba15103a60cc427463b677429b0a67eb5 Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Wed, 18 Dec 2019 13:44:28 +0100 Subject: [PATCH] Add built-in support for tex and friends plain-tex-mode and latex-mode are derived from tex-mode. Some other TeX-related modes are not, so they require an explicit mention in eglot-server-programs. * README.md (Connecting to a server): Add Digestif to the list * eglot.el (eglot-server-programs): Add Digestif for TeX-related modes Copyright-paperwork-exempt: yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/379 --- lisp/progmodes/eglot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 3e8eb2d14fd..4c0160a5705 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -105,7 +105,9 @@ language-server/bin/php-language-server.php")) (dart-mode . ("dart_language_server")) (elixir-mode . ("language_server.sh")) (ada-mode . ("ada_language_server")) - (scala-mode . ("metals-emacs"))) + (scala-mode . ("metals-emacs")) + ((tex-mode context-mode texinfo-mode bibtex-mode) + . ("digestif"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE is a mode symbol, or a list of mode symbols. The associated -- 2.39.2