emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 df17682ebf1: ; Support 'dart-ts-mode' in Eglot


From: Eli Zaretskii
Subject: emacs-29 df17682ebf1: ; Support 'dart-ts-mode' in Eglot
Date: Tue, 18 Apr 2023 07:49:49 -0400 (EDT)

branch: emacs-29
commit df17682ebf15be96aaa8e383df99ffd2eac7e63d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Support 'dart-ts-mode' in Eglot
    
    * lisp/progmodes/eglot.el (eglot-server-programs): Add
    'dart-ts-mode'.  Patch by Mou Tong <mou.tong@outlook.com>.
    (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]