Add default language server for JSON (#2024)
This commit is contained in:
parent
b5efb9d66c
commit
22629ca211
2 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
| iex | ✓ | | | |
|
| iex | ✓ | | | |
|
||||||
| java | ✓ | | | |
|
| java | ✓ | | | |
|
||||||
| javascript | ✓ | | ✓ | `typescript-language-server` |
|
| javascript | ✓ | | ✓ | `typescript-language-server` |
|
||||||
| json | ✓ | | ✓ | |
|
| json | ✓ | | ✓ | `vscode-json-language-server` |
|
||||||
| jsx | ✓ | | ✓ | `typescript-language-server` |
|
| jsx | ✓ | | ✓ | `typescript-language-server` |
|
||||||
| julia | ✓ | | | `julia` |
|
| julia | ✓ | | | `julia` |
|
||||||
| kotlin | ✓ | | | `kotlin-language-server` |
|
| kotlin | ✓ | | | `kotlin-language-server` |
|
||||||
|
|
|
@ -121,6 +121,9 @@ scope = "source.json"
|
||||||
injection-regex = "json"
|
injection-regex = "json"
|
||||||
file-types = ["json"]
|
file-types = ["json"]
|
||||||
roots = []
|
roots = []
|
||||||
|
language-server = { command = "vscode-json-language-server", args = ["--stdio"] }
|
||||||
|
auto-format = true
|
||||||
|
config = { "provideFormatter" = true }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
|
|
Loading…
Reference in a new issue