From 937d42320d93c230c88d06c7a36ee59b94158054 Mon Sep 17 00:00:00 2001 From: Anton Kastritskii Date: Mon, 19 Aug 2024 08:51:10 +0100 Subject: [PATCH] docs: clarify snippet support in jsonls.lua --- lua/lspconfig/server_configurations/jsonls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/jsonls.lua b/lua/lspconfig/server_configurations/jsonls.lua index b629959936..b07804962f 100644 --- a/lua/lspconfig/server_configurations/jsonls.lua +++ b/lua/lspconfig/server_configurations/jsonls.lua @@ -22,7 +22,7 @@ vscode-json-language-server, a language server for JSON and JSON schema npm i -g vscode-langservers-extracted ``` -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. +`vscode-json-language-server` only provides completions when snippet support is enabled. If you use Neovim older than v0.10 you need to enable completion, install a snippet plugin and add the following override to your language client capabilities during setup. ```lua --Enable (broadcasting) snippet capability for completion