dotfiles/rust/folds.scm

26 lines
417 B
Scheme

[
(mod_item)
(foreign_mod_item)
(function_item)
(struct_item)
(trait_item)
(enum_item)
(impl_item)
(type_item)
(union_item)
(const_item)
(use_declaration)+
(let_declaration)
(loop_expression)
(for_expression)
(while_expression)
(if_expression)
(match_expression)
(call_expression)
(array_expression)
(macro_definition)
(macro_invocation)
(attribute_item)
(block)
] @fold