From dfd047d15f5ab38ea0df524e94ea1db4870e54d4 Mon Sep 17 00:00:00 2001 From: qvalentin Date: Sat, 6 Jul 2024 19:19:55 +0200 Subject: feat(gotmpl,helm): add fold queries --- queries/gotmpl/folds.scm | 8 ++++++++ queries/helm/folds.scm | 1 + 2 files changed, 9 insertions(+) create mode 100644 queries/gotmpl/folds.scm create mode 100644 queries/helm/folds.scm diff --git a/queries/gotmpl/folds.scm b/queries/gotmpl/folds.scm new file mode 100644 index 000000000..f3a22e90c --- /dev/null +++ b/queries/gotmpl/folds.scm @@ -0,0 +1,8 @@ +[ + (if_action) + (range_action) + (block_action) + (with_action) + (define_action) + (comment) +] @fold diff --git a/queries/helm/folds.scm b/queries/helm/folds.scm new file mode 100644 index 000000000..6ffb4b7d4 --- /dev/null +++ b/queries/helm/folds.scm @@ -0,0 +1 @@ +; inherits: gotmpl -- cgit v1.2.3-70-g09d2