unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Leung <leungbk@posteo.net>
To: Benjamin Orthen <benjamin@orthen.net>
Cc: 60198@debbugs.gnu.org, "João Távora" <joaotavora@gmail.com>
Subject: bug#60198: 30.0.50; Eglot: Spelling error for vscode-json-languageserver
Date: Mon, 19 Dec 2022 23:04:18 +0000	[thread overview]
Message-ID: <87y1r3vvqs.fsf@posteo.net> (raw)
In-Reply-To: <06D08E3D-38D8-441C-AE67-01EACA0029A4@orthen.net>

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]


Benjamin Orthen <benjamin@orthen.net> writes:

> Alright thanks, I wasn't aware of the extracted versions.
>
> I still think vscode-json-languageserver should be included, as 
> this is the "original" program and not everybody might know
> or use the extracted langservers you're quoting.

OK, see attached for a patch. I added only 
vscode-json-languageserver since I could not find anything named 
vscode-{html,css}-languageserver on NPM. CCing João.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: vscode-json --]
[-- Type: text/x-patch, Size: 1209 bytes --]

From f38132183a3deb28458ce2747bb375912b73afd2 Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@posteo.net>
Date: Mon, 19 Dec 2022 15:03:06 -0800
Subject: [PATCH] eglot.el: Add vscode-json-languageserver

* lisp/progmodes/eglot.el (eglot-server-programs): Add.
---
 lisp/progmodes/eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index ce4ca4f3d92..0f1bfd0447d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -190,6 +190,7 @@ eglot-server-programs
                                      '("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"))
-- 
2.38.1


  reply	other threads:[~2022-12-19 23:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 10:13 bug#60198: 30.0.50; Eglot: Spelling error for vscode-json-languageserver Benjamin Orthen
2022-12-19 12:42 ` Brian Leung
2022-12-19 13:00   ` Eli Zaretskii
2022-12-19 23:07     ` Brian Leung
2022-12-20  3:36       ` Eli Zaretskii
2022-12-20 10:21         ` Brian Leung
2022-12-19 14:17   ` Benjamin Orthen
2022-12-19 23:04     ` Brian Leung [this message]
2022-12-20  1:12       ` João Távora
2022-12-20 10:25         ` Brian Leung
2022-12-20 14:32           ` Eli Zaretskii
2023-09-05 23:51             ` Stefan Kangas
2022-12-19 12:53 ` Eli Zaretskii
2022-12-19 14:19   ` João Távora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1r3vvqs.fsf@posteo.net \
    --to=leungbk@posteo.net \
    --cc=60198@debbugs.gnu.org \
    --cc=benjamin@orthen.net \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).