From: Antoine Kalmbach Date: Tue, 17 Dec 2019 19:34:29 +0000 (+0200) Subject: Add metals as the language server for scala X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~265 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c235178991116612a8fa51babe332a4e2fa9553;p=emacs.git Add metals as the language server for scala * README.md (Connecting to a server): Add metals to the list * eglot.el (eglot-server-programs): Add metals for scala-mode Copyright-paperwork-exempt: yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/376 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 74f06699f23..3e8eb2d14fd 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -104,7 +104,8 @@ language-server/bin/php-language-server.php")) (java-mode . eglot--eclipse-jdt-contact) (dart-mode . ("dart_language_server")) (elixir-mode . ("language_server.sh")) - (ada-mode . ("ada_language_server"))) + (ada-mode . ("ada_language_server")) + (scala-mode . ("metals-emacs"))) "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