From 1da5b8e1a31f3032baf26573f5ccb09a26a67375 Mon Sep 17 00:00:00 2001 From: Brady Trainor Date: Tue, 25 Dec 2018 16:21:53 -0800 Subject: [PATCH] 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. --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2