From: Brady Trainor Date: Wed, 26 Dec 2018 00:21:53 +0000 (-0800) Subject: Add built-in support for dart's dart_language_server X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1da5b8e1a31f3032baf26573f5ccb09a26a67375;p=emacs.git Add built-in support for dart's dart_language_server Closes https://github.com/joaotavora/eglot/issues/194. Copyright-paperwork-exempt: yes * README.md (Connecting to a server): Add dart_language_server. * eglot.el (eglot-server-programs): Add dart_language_server. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index befa6cdf454..18067f61b56 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -100,7 +100,8 @@ language-server/bin/php-language-server.php")) "-gocodecompletion")) ((R-mode ess-r-mode) . ("R" "--slave" "-e" "languageserver::run()")) - (java-mode . eglot--eclipse-jdt-contact)) + (java-mode . eglot--eclipse-jdt-contact) + (dart-mode . ("dart_language_server"))) "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