From df17682ebf15be96aaa8e383df99ffd2eac7e63d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 18 Apr 2023 14:49:18 +0300 Subject: [PATCH] ; Support 'dart-ts-mode' in Eglot * lisp/progmodes/eglot.el (eglot-server-programs): Add 'dart-ts-mode'. Patch by Mou Tong . (Bug#62879) --- lisp/progmodes/eglot.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5