unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs
@ 2024-02-01 13:21 Piotr Kwiecinski
  2024-02-02  7:52 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Kwiecinski @ 2024-02-01 13:21 UTC (permalink / raw)
  To: 68870

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

Tags: patch

Tags: patch

Tags: patch

Add support for https://github.com/emacs-php/php-ts-mode. This package is not yet available in any ELPA, but will be submitted to GNU ELPA in due course.


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.37, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Ubuntu 23.10

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 --prefix=/gnu/store/yc4m69q3fqa5962cn3yjjlxyhi020kn1-emacs-next-30.0.50-1.9d27b95
 --enable-fast-install --with-cairo --with-modules
 --with-native-compilation=aot --disable-build-details'


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

From c56813bc19459bcdf63c67540b1dc37cfbd074c3 Mon Sep 17 00:00:00 2001
From: Piotr Kwiecinski <piotr.kwiecinski@codemanufacture.com>
Date: Thu, 1 Feb 2024 14:02:20 +0100
Subject: [PATCH] eglot: Add php-ts-mode to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add php-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 beba268f923..82a0060680d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -243,7 +243,7 @@ eglot-server-programs
                                   (typescript-mode :language-id "typescript"))
                                  . ("typescript-language-server" "--stdio"))
                                 ((bash-ts-mode sh-mode) . ("bash-language-server" "start"))
-                                ((php-mode phps-mode)
+                                ((php-mode phps-mode php-ts-mode)
                                  . ,(eglot-alternatives
                                      '(("phpactor" "language-server")
                                        ("php" "vendor/felixfbecker/language-server/bin/php-language-server.php"))))
-- 
2.40.1


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

* bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs
  2024-02-01 13:21 bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs Piotr Kwiecinski
@ 2024-02-02  7:52 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2024-02-02  7:52 UTC (permalink / raw)
  To: Piotr Kwiecinski; +Cc: 68870-done

Piotr Kwiecinski <piokwiecinski@gmail.com> writes:

> Tags: patch
>
> Add support for https://github.com/emacs-php/php-ts-mode.

Installed on emacs-29, thank you.

> This package is not yet available in any ELPA, but will be submitted
> to GNU ELPA in due course.

That's really good news!  Thank you for working on it.





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

end of thread, other threads:[~2024-02-02  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 13:21 bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs Piotr Kwiecinski
2024-02-02  7:52 ` 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).