aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-12-01 15:12:04 +0000
committergithub-actions <github-actions@github.com>2021-12-01 15:12:04 +0000
commit5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7 (patch)
tree52126d08bbbc65613889b1ce0da2c975ae78bae2 /doc
parentdocs(jsonls): remove formatting workaround (diff)
downloadnvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar.gz
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar.bz2
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar.lz
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar.xz
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.tar.zst
nvim-lspconfig-5b8624c1bcd332e9fd7ae33a2ca910adb31a7ae7.zip
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/server_configurations.md14
-rw-r--r--doc/server_configurations.txt14
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