aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/rust/textobjects.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/rust/textobjects.scm b/runtime/queries/rust/textobjects.scm
index b2769c13..ba86050b 100644
--- a/runtime/queries/rust/textobjects.scm
+++ b/runtime/queries/rust/textobjects.scm
@@ -7,6 +7,8 @@
(function_item
body: (_) @function.inside)) @function.around
+(closure_expression body: (_) @function.inside) @function.around
+
(
[
(attribute_item)+