From: Augusto Stoffel Date: Wed, 18 Dec 2019 12:44:28 +0000 (+0100) Subject: Add built-in support for tex and friends X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~264 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76a658aba15103a60cc427463b677429b0a67eb5;p=emacs.git 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 --- 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