Add support for JSONC

This commit is contained in:
Hugo Osvaldo Barrera 2021-02-15 18:35:13 +01:00 committed by Stephan Seitz
parent 2655fc94b0
commit 33a7a694d9
5 changed files with 13 additions and 0 deletions

View file

@ -303,6 +303,13 @@ list.vue = {
}
}
list.jsonc = {
install_info = {
url = "https://gitlab.com/WhyNotHugo/tree-sitter-jsonc.git",
files = { "src/parser.c" },
}
}
list.elm = {
install_info = {
url = "https://github.com/elm-tooling/tree-sitter-elm",

1
queries/jsonc/folds.scm Normal file
View file

@ -0,0 +1 @@
; inherits: json

View file

@ -0,0 +1,3 @@
; inherits: json
(comment) @comment

View file

@ -0,0 +1 @@
; inherits: json

1
queries/jsonc/locals.scm Normal file
View file

@ -0,0 +1 @@
; inherits: json