Skip to content

Commit

Permalink
extend rust queries
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Feb 23, 2023
1 parent 13b07d5 commit be095a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions queries/rust/context.scm
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@
body: (_ (_) @context.end)
) @context

([
(mod_item)
(enum_item)
(closure_expression)
(expression_statement)
(loop_expression)
(match_expression)
] @context)

0 comments on commit be095a3

Please sign in to comment.