aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/lspconfig/jsonls.lua12
1 files changed, 6 insertions, 6 deletions
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 {