From e48e0192132c6a3b95dd9feb6cd24d6e39279f4d Mon Sep 17 00:00:00 2001 From: Ben Frain Date: Sun, 13 Jun 2021 22:44:51 +0100 Subject: docs(jsonls): update installation instructions Updating server addresses to more recent language servers --- lua/lspconfig/jsonls.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lua/lspconfig/jsonls.lua') diff --git a/lua/lspconfig/jsonls.lua b/lua/lspconfig/jsonls.lua index 3db6b83d..cef595ce 100644 --- a/lua/lspconfig/jsonls.lua +++ b/lua/lspconfig/jsonls.lua @@ -2,7 +2,7 @@ local configs = require 'lspconfig/configs' local util = require 'lspconfig/util' local server_name = "jsonls" -local bin_name = "vscode-json-languageserver" +local bin_name = "vscode-json-language-server" configs[server_name] = { default_config = { @@ -17,16 +17,16 @@ configs[server_name] = { -- this language server config is in VSCode built-in package.json package_json = "https://raw.githubusercontent.com/microsoft/vscode/master/extensions/json-language-features/package.json"; description = [[ -https://github.com/vscode-langservers/vscode-json-languageserver +https://github.com/hrsh7th/vscode-langservers-extracted -vscode-json-languageserver, a language server for JSON and JSON schema +vscode-json-language-server, a language server for JSON and JSON schema -`vscode-json-languageserver` can be installed via `npm`: +`vscode-json-language-server` can be installed via `npm`: ```sh -npm install -g vscode-json-languageserver +npm i -g vscode-langservers-extracted ``` -vscode-json-languageserver only provides range formatting. You can map a command that applies range formatting to the entire document: +vscode-json-language-server only provides range formatting. You can map a command that applies range formatting to the entire document: ```lua require'lspconfig'.jsonls.setup { -- cgit v1.2.3-70-g09d2