mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
added query enhancements
added toml added alternation
This commit is contained in:
parent
00ea65199e
commit
39968ca258
3 changed files with 9 additions and 2 deletions
4
queries/json/locals.scm
Normal file
4
queries/json/locals.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
(object)
|
||||
(array)
|
||||
] @scope
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[
|
||||
(table)
|
||||
(array)
|
||||
(table_array_element)
|
||||
] @fold
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
(table) @scope
|
||||
(table_array_element) @scope
|
||||
[
|
||||
(table)
|
||||
(table_array_element)
|
||||
] @scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue