diff options
-rw-r--r-- | runtime/queries/rust/textobjects.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/queries/rust/textobjects.scm b/runtime/queries/rust/textobjects.scm index 496f752e..837f981e 100644 --- a/runtime/queries/rust/textobjects.scm +++ b/runtime/queries/rust/textobjects.scm @@ -1,5 +1,8 @@ (function_item - body: (_) @function.inside) @function.around(closure_expression body: (_) @function.inside) @function.around + body: (_) @function.inside) @function.around + +(closure_expression + body: (_) @function.inside) @function.around (struct_item body: (_) @class.inside) @class.around |