]> git.eshelyaron.com Git - emacs.git/commitdiff
eglot.el: Add vscode-json-languageserver to eglot-server-programs
authorBrian Leung <leungbk@posteo.net>
Mon, 19 Dec 2022 23:03:06 +0000 (15:03 -0800)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Dec 2022 14:30:16 +0000 (16:30 +0200)
* lisp/progmodes/eglot.el (eglot-server-programs): Add the
alternative name of the vcscode JSON server.  (Bug#60198)

lisp/progmodes/eglot.el

index ce4ca4f3d926f58711653e109519a1c6a9646ba7..0f1bfd0447d46163bfb3b209ae072f0763ec1198 100644 (file)
@@ -190,6 +190,7 @@ chosen (interactively or automatically)."
                                      '("pylsp" "pyls" ("pyright-langserver" "--stdio") "jedi-language-server")))
                                 ((js-json-mode json-mode json-ts-mode)
                                  . ,(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)
                                  . ("typescript-language-server" "--stdio"))