Subject: Re: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs

From: Theodor Thornhill <[email-masked]>
Date: Sat, 26 Nov 2022 21:15:05 +0100

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

>From 2d179dd436f410bba30790fad60b04f9b338cc7b Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <[email-masked]>
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