feat(gotmpl,helm): add locals (wip)

This commit is contained in:
qvalentin 2024-07-06 19:20:59 +02:00 committed by Christian Clason
parent dfd047d15f
commit 4075376a25
2 changed files with 13 additions and 0 deletions

12
queries/gotmpl/locals.scm Normal file
View 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
View file

@ -0,0 +1 @@
; inherits: gotmpl