From: Piotr Kwiecinski <piokwiecinski@gmail.com>
To: 68870@debbugs.gnu.org
Subject: bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs
Date: Thu, 01 Feb 2024 14:21:15 +0100 [thread overview]
Message-ID: <87cytg48xg.fsf@gmail.com> (raw)
[-- 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
next reply other threads:[~2024-02-01 13:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 13:21 Piotr Kwiecinski [this message]
2024-02-02 7:52 ` bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs Stefan Kangas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cytg48xg.fsf@gmail.com \
--to=piokwiecinski@gmail.com \
--cc=68870@debbugs.gnu.org \
/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 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).