aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/rust/textobjects.scm5
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