all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 59252@debbugs.gnu.org, "João Távora" <joaotavora@gmail.com>
Subject: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs
Date: Sat, 26 Nov 2022 21:15:05 +0100	[thread overview]
Message-ID: <871qpp322e.fsf@thornhill.no> (raw)
In-Reply-To: <87o7t91ugz.fsf@thornhill.no>

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


Hi again!

>>> 
>>> Sure :-)
>>> You can close this then.
>>
>> Let's wait until the branch lands, and revisit this then.
>>

It seems like js-ts-mode is the only one missing, so here's a new patch
adding that.

Theo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-js-ts-mode-to-eglot-server-programs.patch --]
[-- Type: text/x-diff, Size: 1257 bytes --]

From 2d179dd436f410bba30790fad60b04f9b338cc7b Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Sat, 26 Nov 2022 21:12:51 +0100
Subject: [PATCH] Add js-ts-mode to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add js-ts-mode as
an alternative.
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 120d4feb95..7755353396 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -190,7 +190,7 @@ eglot-server-programs
                                 ((js-json-mode json-mode json-ts-mode)
                                  . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")
                                                           ("json-languageserver" "--stdio"))))
-                                ((js-mode typescript-ts-mode typescript-mode)
+                                ((js-mode js-ts-mode typescript-ts-mode typescript-mode)
                                  . ("typescript-language-server" "--stdio"))
                                 ((bash-ts-mode sh-mode) . ("bash-language-server" "start"))
                                 ((php-mode phps-mode)
-- 
2.34.1


  reply	other threads:[~2022-11-26 20:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13 20:56 bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-14  3:25 ` Eli Zaretskii
2022-11-14  6:21   ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-14 13:10     ` Eli Zaretskii
2022-11-14 14:28       ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-26 20:15         ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-11-27  7:04           ` Stefan Kangas
2022-11-27  7:11             ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-27  7:23               ` Eli Zaretskii
2022-11-27  7:28                 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

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

  git send-email \
    --in-reply-to=871qpp322e.fsf@thornhill.no \
    --to=bug-gnu-emacs@gnu.org \
    --cc=59252@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=theo@thornhill.no \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.