Skip to content

Commit

Permalink
docs(json-ls): yasnippet required to receive completions (emacs-lsp#4035
Browse files Browse the repository at this point in the history
)

* docs(json-ls): yasnippet required to receive completions

* docs(json-ls): yasnippet required to receive completions
  • Loading branch information
sethidden authored May 6, 2023
1 parent cf30718 commit 03bc5a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/manual-language-docs/lsp-json-ls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
root_file: docs/manual-language-docs/lsp-json-ls.md
---
# Completions

json-ls (vscode-json-language-server) provides completions for [well known files](https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-json.el#L65-L85) and files which manually specify their JSON Schema using the `$schema` property.

In order for json-ls to provide completions, you need to enable snippet support. To do that, make sure you have installed `yasnippet` and that you have enabled the `yasnippet` minor mode.

0 comments on commit 03bc5a7

Please sign in to comment.