You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/rust/context.scm

22 lines
315 B
Scheme

(function_item
(parameters) @context.params
) @context
(mod_item
body: (_)) @context
[
(if_expression)
(else_clause)
(match_expression)
(match_arm)
(for_expression)
(while_expression)
(loop_expression)
(closure_expression)
(impl_item)
(trait_item)
(struct_item)
(enum_item)
] @context