From 5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 1 Dec 2021 15:12:04 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 14 -------------- doc/server_configurations.txt | 14 -------------- 2 files changed, 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 -- cgit v1.2.3-70-g09d2