]> 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:12:03 +0000 (04:12 -0600)
lisp/progmodes/eglot.el

index f6c57125fd323d4f9925c7677ba390fa4d8acc76..48ea33c3ee1ce66755888d18cbb655fb730ce381 100644 (file)
@@ -221,11 +221,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)