[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1fe94988805: Eglot: Send standard :language-id for typescript-lan
From: |
João Távora |
Subject: |
master 1fe94988805: Eglot: Send standard :language-id for typescript-language-server |
Date: |
Mon, 13 Nov 2023 19:06:20 -0500 (EST) |
branch: master
commit 1fe949888057b0275da041288709bd5690501974
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Eglot: Send standard :language-id for typescript-language-server
bug#67150
* lisp/progmodes/eglot.el (eglot-server-programs): Update
language-id for languages handled by typescript-language-server.
---
lisp/progmodes/eglot.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 816f6952d2e..f6c57125fd3 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -221,7 +221,11 @@ chosen (interactively or automatically)."
. ,(eglot-alternatives
'(("vscode-json-language-server" "--stdio")
("vscode-json-languageserver" "--stdio")
("json-languageserver" "--stdio"))))
- ((js-mode js-ts-mode tsx-ts-mode
typescript-ts-mode typescript-mode)
+ (((js-mode :language-id javascript)
+ (js-ts-mode :language-id javascript)
+ (tsx-ts-mode :language-id typescriptreact)
+ (typescript-ts-mode :language-id typescript)
+ (typescript-mode :language-id typescript))
. ("typescript-language-server" "--stdio"))
((bash-ts-mode sh-mode) .
("bash-language-server" "start"))
((php-mode phps-mode)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1fe94988805: Eglot: Send standard :language-id for typescript-language-server,
João Távora <=