From: Eli Zaretskii Date: Tue, 18 Apr 2023 11:49:18 +0000 (+0300) Subject: ; Support 'dart-ts-mode' in Eglot X-Git-Tag: emacs-29.0.91~126 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=df17682ebf1;p=emacs.git ; Support 'dart-ts-mode' in Eglot * lisp/progmodes/eglot.el (eglot-server-programs): Add 'dart-ts-mode'. Patch by Mou Tong . (Bug#62879) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 9b499b944cd..ed554087084 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -218,8 +218,9 @@ chosen (interactively or automatically)." ((R-mode ess-r-mode) . ("R" "--slave" "-e" "languageserver::run()")) ((java-mode java-ts-mode) . ("jdtls")) - (dart-mode . ("dart" "language-server" - "--client-id" "emacs.eglot-dart")) + ((dart-mode dart-ts-mode) + . ("dart" "language-server" + "--client-id" "emacs.eglot-dart")) (elixir-mode . ("language_server.sh")) (ada-mode . ("ada_language_server")) (scala-mode . ,(eglot-alternatives