mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
feat(vrl): Add vrl parser and queries
This commit is contained in:
parent
cc69a061fe
commit
9f8c99e980
8 changed files with 172 additions and 0 deletions
24
queries/vrl/indents.scm
Normal file
24
queries/vrl/indents.scm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[
|
||||
(block)
|
||||
(object)
|
||||
(array)
|
||||
(arguments)
|
||||
] @indent.begin
|
||||
|
||||
(block
|
||||
"}" @indent.end)
|
||||
|
||||
(object
|
||||
"}" @indent.end)
|
||||
|
||||
(array
|
||||
"]" @indent.end)
|
||||
|
||||
(arguments
|
||||
")" @indent.end)
|
||||
|
||||
[
|
||||
")"
|
||||
"]"
|
||||
"}"
|
||||
] @indent.branch
|
||||
Loading…
Add table
Add a link
Reference in a new issue