on master help sign in
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.

commit4e9a0700db6df3c2be123c3c130ab7689135576a authorYura Shymon <97038258+woojiq@users.noreply.github.com> dateThu 12 Jan 2023, 06:21 (4 years ago) parent2412f7c
1 file changed+2−2
languages.toml+2−2
languages.toml+2−2
@@ -138,7 +138,7 @@ indent = { tab-width = 2, unit = " " }
138138name = "json"
139139scope = "source.json"
140140injection-regex = "json"
141−file-types = ["json"]
141+file-types = ["json", "jsonc"]
142142roots = []
143143language-server = { command = "vscode-json-language-server", args = ["--stdio"] }
144144auto-format = true
@@ -147,7 +147,7 @@ indent = { tab-width = 2, unit = " " }
147147
148148[[grammar]]
149149name = "json"
150−source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "65bceef69c3b0f24c0b19ce67d79f57c96e90fcb" }
150+source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" }
151151
152152[[language]]
153153name = "c"