]> git.eshelyaron.com Git - emacs.git/commitdiff
Update invocation for out-of-box dart ls support
authorBilly.Zheng <vil963@gmail.com>
Tue, 5 Apr 2022 11:45:47 +0000 (19:45 +0800)
committerJoão Távora <joaotavora@gmail.com>
Tue, 5 Apr 2022 16:08:03 +0000 (17:08 +0100)
* eglot.el (eglot-server-programs): Tweak dart-mode entry.

* README.md: Tweak Dart entry.

Co-authored-by: João Távora
Copyright-paperwork-exempt: Yes
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/862

lisp/progmodes/eglot.el

index c32560ad8fbc50f487a14876f9e1b9bf2b31f7c4..d712b06e76d7131435bf2c899c1eae1efb395598 100644 (file)
@@ -174,7 +174,8 @@ language-server/bin/php-language-server.php"))
                                 ((R-mode ess-r-mode) . ("R" "--slave" "-e"
                                                         "languageserver::run()"))
                                 (java-mode . ("jdtls"))
-                                (dart-mode . ("dart_language_server"))
+                                (dart-mode . ("dart" "language-server"
+                                              "--client-id" "emacs.eglot-dart"))
                                 (elixir-mode . ("language_server.sh"))
                                 (ada-mode . ("ada_language_server"))
                                 (scala-mode . ("metals-emacs"))