diff options
author | ChrHorn | 2022-08-06 10:58:06 +0000 |
---|---|---|
committer | GitHub | 2022-08-06 10:58:06 +0000 |
commit | 23f4a40a7a037948935aea7f24e20319029d174e (patch) | |
tree | e3b6d501b698ea58df65de0a329ae75d4cd9959a /runtime/queries | |
parent | 63ec10950f56cf1daff1f29b083aa270c2f224ad (diff) |
Rust queries: add `(function_item)` as a local scope (#3345)
Diffstat (limited to 'runtime/queries')
-rw-r--r-- | runtime/queries/rust/locals.scm | 7 |
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 |