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