aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorYura Shymon2023-01-12 04:21:11 +0000
committerGitHub2023-01-12 04:21:11 +0000
commit4e9a0700db6df3c2be123c3c130ab7689135576a (patch)
tree48e37fc0cf6df5baa9f15eb3e0553d10a36a5086 /languages.toml
parent2412f7c8374d2f6a8bfd66ecf424153a37c814bf (diff)
Update tree-sitter-json, add jsonc as file-type for json (#5509)
New git revision of tree-sitter-json that supports comments. Jsonc is alias for json. Both formats doesn't mark comments as errors now.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 56e21fb0..9029c94e 100644
--- a/languages.toml
+++ b/languages.toml
@@ -138,7 +138,7 @@ indent = { tab-width = 2, unit = " " }
name = "json"
scope = "source.json"
injection-regex = "json"
-file-types = ["json"]
+file-types = ["json", "jsonc"]
roots = []
language-server = { command = "vscode-json-language-server", args = ["--stdio"] }
auto-format = true
@@ -147,7 +147,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "json"
-source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "65bceef69c3b0f24c0b19ce67d79f57c96e90fcb" }
+source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" }
[[language]]
name = "c"