unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mou Tong <mou.tong@outlook.com>
To: Mou Tong <mou.tong@outlook.com>
Cc: "62879@debbugs.gnu.org" <62879@debbugs.gnu.org>
Subject: bug#62879: 回复: [PATCH] eglot: add dart-ts-mode to eglot-server-programs
Date: Sun, 16 Apr 2023 11:42:56 +0000	[thread overview]
Message-ID: <SJ0P220MB06753850180A059703B22C7D979F9@SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <SJ0P220MB0675AEAAB153438CE04069D8979F9@SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM>

[-- Attachment #1: Type: text/plain, Size: 31 bytes --]

My bad, should be this one 😅

[-- Attachment #2: 0001-eglot-add-dart-ts-mode-to-eglot-server-programs.patch --]
[-- Type: application/octet-stream, Size: 1427 bytes --]

From 9cf9e10e894d588eb8bc1b545e22a5aa431fbfd6 Mon Sep 17 00:00:00 2001
From: dalu <mou.tong@outlook.com>
Date: Sun, 16 Apr 2023 15:54:51 +0800
Subject: [PATCH] eglot: add dart-ts-mode to eglot-server-programs

There is new major [mode] for editing dart files

[mode]: https://github.com/50ways2sayhard/dart-ts-mode
---
 lisp/progmodes/eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 24f2fda5ae5..33119ff3bef 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -215,8 +215,8 @@ eglot-server-programs
                                 ((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 elixir-ts-mode heex-ts-mode)
                                  . ,(if (and (fboundp 'w32-shell-dos-semantics)
                                              (w32-shell-dos-semantics))
-- 
2.40.0.windows.1


  reply	other threads:[~2023-04-16 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16  9:14 bug#62879: [PATCH] eglot: add dart-ts-mode to eglot-server-programs Mou Tong
2023-04-16 11:42 ` Mou Tong [this message]
2023-04-18 11:50   ` bug#62879: 回复: " Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0P220MB06753850180A059703B22C7D979F9@SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM \
    --to=mou.tong@outlook.com \
    --cc=62879@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).