mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -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
16
queries/vrl/locals.scm
Normal file
16
queries/vrl/locals.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(closure_variables
|
||||
(ident) @local.definition.parameter)
|
||||
|
||||
[
|
||||
(ident)
|
||||
(metadata)
|
||||
] @local.reference
|
||||
|
||||
(query
|
||||
(event) @local.reference)
|
||||
|
||||
[
|
||||
(block)
|
||||
(closure)
|
||||
(if_statement)
|
||||
] @local.scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue