Subject: bug#59770: closed (Re: bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 02 Dec 2022 11:58:01 +0000

Your bug report

#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59770: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59770
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs
From: Stefan Kangas <[email-masked]>
To: Brian Leung <[email-masked]>, [email-masked]
Date: Fri, 2 Dec 2022 03:57:49 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Brian Leung <[email-masked]> writes:

> From bec5c7b33afffd71a4a1c8364092ec04b641e9ce Mon Sep 17 00:00:00 2001
> From: Brian Leung <[email-masked]>
> Date: Fri, 2 Dec 2022 03:02:30 -0800
> Subject: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs
>
> * lisp/progmodes/eglot.el (eglot-server-programs): Add tsx-ts-mode.

Thanks, installed (commit 2b9cd50f93).

Subject: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs
From: Brian Leung <[email-masked]>
To: [email-masked]
Date: Fri, 02 Dec 2022 11:04:35 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Intended for the 29 branch, since it's related to a tree-sitter-based addition.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.16.0, Xaw3d scroll bars)
Repository revision: ff64a85b2db11b57dda8be0fa0b749870d353590
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: NixOS 23.05 (Stoat)

Configured using:
 'configure
 --prefix=/nix/store/7hzjm16ck3xwslvryndm6j6sxvcp1hbn-emacs-git-20221201.0
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-native-compilation'

>From bec5c7b33afffd71a4a1c8364092ec04b641e9ce Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Fri, 2 Dec 2022 03:02:30 -0800
Subject: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add tsx-ts-mode.
---
 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 e5c943ebf7..c266f6e18a 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 js-ts-mode typescript-ts-mode typescript-mode)
+                                ((js-mode js-ts-mode tsx-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.38.1