Add default language server for JSON (#2024)

pull/2028/head
David 3 years ago committed by GitHub
parent b5efb9d66c
commit 22629ca211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save