diff --git a/queries/folds.scm b/queries/folds.scm new file mode 100644 index 0000000..6159129 --- /dev/null +++ b/queries/folds.scm @@ -0,0 +1,18 @@ +[ + (array_expression) + (record_expression) + (sequence_expression) + (if_expression) + (while_expression) + (for_expression) + (let_expression) + (function_declaration) + (primitive_declaration) +] @fold + +[ + (comment) + (string_literal) +] @ignore + +; vim: sw=2 foldmethod=marker