emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 40ff40198d: Add js-ts-mode to eglot-server-programs


From: Stefan Kangas
Subject: master 40ff40198d: Add js-ts-mode to eglot-server-programs
Date: Sun, 27 Nov 2022 01:55:53 -0500 (EST)

branch: master
commit 40ff40198d817b1385694499a4dce9adb313ea6f
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Add js-ts-mode to eglot-server-programs
    
    * lisp/progmodes/eglot.el (eglot-server-programs): Add js-ts-mode as
    an alternative.  (Bug#59252)
---
 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 120d4feb95..7755353396 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -190,7 +190,7 @@ chosen (interactively or automatically)."
                                 ((js-json-mode json-mode json-ts-mode)
                                  . ,(eglot-alternatives 
'(("vscode-json-language-server" "--stdio")
                                                           
("json-languageserver" "--stdio"))))
-                                ((js-mode typescript-ts-mode typescript-mode)
+                                ((js-mode js-ts-mode typescript-ts-mode 
typescript-mode)
                                  . ("typescript-language-server" "--stdio"))
                                 ((bash-ts-mode sh-mode) . 
("bash-language-server" "start"))
                                 ((php-mode phps-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]