added query enhancements

added toml

added alternation
This commit is contained in:
Brian Shu 2021-01-09 10:27:27 -05:00 committed by Thomas Vigouroux
parent 00ea65199e
commit 39968ca258
3 changed files with 9 additions and 2 deletions

4
queries/json/locals.scm Normal file
View file

@ -0,0 +1,4 @@
[
(object)
(array)
] @scope

View file

@ -1,4 +1,5 @@
[
(table)
(array)
(table_array_element)
] @fold

View file

@ -1,2 +1,4 @@
(table) @scope
(table_array_element) @scope
[
(table)
(table_array_element)
] @scope