diff --git a/queries/gotmpl/locals.scm b/queries/gotmpl/locals.scm new file mode 100644 index 000000000..528e9fabb --- /dev/null +++ b/queries/gotmpl/locals.scm @@ -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 diff --git a/queries/helm/locals.scm b/queries/helm/locals.scm new file mode 100644 index 000000000..6ffb4b7d4 --- /dev/null +++ b/queries/helm/locals.scm @@ -0,0 +1 @@ +; inherits: gotmpl