]> git.eshelyaron.com Git - emacs.git/commitdiff
Add built-in support for dart's dart_language_server
authorBrady Trainor <mail@bradyt.com>
Wed, 26 Dec 2018 00:21:53 +0000 (16:21 -0800)
committerJoão Távora <joaotavora@gmail.com>
Wed, 9 Jan 2019 23:07:53 +0000 (23:07 +0000)
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

index befa6cdf45447c8624cf401e5187a5c955bffcf1..18067f61b56e50ab26dc2929cdd1ae879bdc85b5 100644 (file)
@@ -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