docs: clarify snippet support in jsonls.lua (#3270)

This commit is contained in:
Anton Kastritskii 2024-08-19 09:26:19 +01:00 committed by GitHub
parent a89de2e049
commit 48dc7b1934
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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