aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/rust/locals.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/queries/rust/locals.scm b/runtime/queries/rust/locals.scm
index 905ded02..75e5d181 100644
--- a/runtime/queries/rust/locals.scm
+++ b/runtime/queries/rust/locals.scm
@@ -1,7 +1,10 @@
; Scopes
-(block) @local.scope
-(closure_expression) @local.scope
+[
+ (function_item)
+ (closure_expression)
+ (block)
+] @local.scope
; Definitions