mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat(gotmpl,helm): add locals (wip)
This commit is contained in:
parent
dfd047d15f
commit
4075376a25
2 changed files with 13 additions and 0 deletions
12
queries/gotmpl/locals.scm
Normal file
12
queries/gotmpl/locals.scm
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
(if_action)
|
||||
(range_action)
|
||||
(block_action)
|
||||
(with_action)
|
||||
(define_action)
|
||||
] @local.scope
|
||||
|
||||
(variable_definition
|
||||
variable: (variable) @local.definition.var)
|
||||
|
||||
(variable) @local.reference
|
1
queries/helm/locals.scm
Normal file
1
queries/helm/locals.scm
Normal file
|
@ -0,0 +1 @@
|
|||
; inherits: gotmpl
|
Loading…
Reference in a new issue