summaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-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