]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/eglot.el (eglot-server-programs): Fix previous commit.
authorJoão Távora <joaotavora@gmail.com>
Wed, 15 Nov 2023 10:12:03 +0000 (04:12 -0600)
committerJoão Távora <joaotavora@gmail.com>
Wed, 15 Nov 2023 10:18:01 +0000 (04:18 -0600)
(cherry picked from commit 58d9e735e721ecf0187a5e15eefc7641112ace0b)

lisp/progmodes/eglot.el

index dfeff7143bb7ea9e81508794c6a3e03c04ead93c..80f98d7553d24904f3b3ed1817f98b106b06ae6f 100644 (file)
@@ -193,11 +193,11 @@ chosen (interactively or automatically)."
                                  . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio")
                                                           ("vscode-json-languageserver" "--stdio")
                                                           ("json-languageserver" "--stdio"))))
-                                (((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))
+                                (((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)