diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/server_configurations.md | 14 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 14 |
2 files changed, 0 insertions, 28 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index f9ede9ed..496dcb13 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -3039,20 +3039,6 @@ vscode-json-language-server, a language server for JSON and JSON schema npm i -g vscode-langservers-extracted ``` -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 { - commands = { - Format = { - function() - vim.lsp.buf.range_formatting({},{0,0},{vim.fn.line("$"),0}) - end - } - } -} -``` - Neovim does not currently include built-in snippets. `vscode-json-language-server` only provides completions when snippet support is enabled. To enable completion, install a snippet plugin and add the following override to your language client capabilities during setup. ```lua diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index f9ede9ed..496dcb13 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -3039,20 +3039,6 @@ vscode-json-language-server, a language server for JSON and JSON schema npm i -g vscode-langservers-extracted ``` -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 { - commands = { - Format = { - function() - vim.lsp.buf.range_formatting({},{0,0},{vim.fn.line("$"),0}) - end - } - } -} -``` - Neovim does not currently include built-in snippets. `vscode-json-language-server` only provides completions when snippet support is enabled. To enable completion, install a snippet plugin and add the following override to your language client capabilities during setup. ```lua |
