Unnamed repository; edit this file 'description' to name the repository.
fix formatting in the rust textobject query file
looks like two lines were unintentionally joined - it doesn't appear to affect the functionality, but it's confusing to read
Jesse Luehrs 2023-08-14
parent 19dff5c · commit d56638b
-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