aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/lua/folds.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/lua/folds.scm')
-rw-r--r--runtime/queries/lua/folds.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/queries/lua/folds.scm b/runtime/queries/lua/folds.scm
new file mode 100644
index 00000000..d8f0b42d
--- /dev/null
+++ b/runtime/queries/lua/folds.scm
@@ -0,0 +1,10 @@
+[
+ (do_statement)
+ (while_statement)
+ (repeat_statement)
+ (if_statement)
+ (for_statement)
+ (function_declaration)
+ (function_definition)
+ (table_constructor)
+] @fold