unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs
@ 2022-12-02 11:04 Brian Leung
  2022-12-02 11:57 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2022-12-02 11:04 UTC (permalink / raw)
  To: 59770

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

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'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-eglot-Account-for-tsx-ts-mode-in-eglot-server-progra.patch --]
[-- Type: text/patch, Size: 1273 bytes --]

From bec5c7b33afffd71a4a1c8364092ec04b641e9ce Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@posteo.net>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs
  2022-12-02 11:04 bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs Brian Leung
@ 2022-12-02 11:57 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-12-02 11:57 UTC (permalink / raw)
  To: Brian Leung, 59770-done

Brian Leung <leungbk@posteo.net> writes:

> From bec5c7b33afffd71a4a1c8364092ec04b641e9ce Mon Sep 17 00:00:00 2001
> From: Brian Leung <leungbk@posteo.net>
> 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).





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-02 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 11:04 bug#59770: [PATCH] eglot: Account for tsx-ts-mode in eglot-server-programs Brian Leung
2022-12-02 11:57 ` Stefan Kangas

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).