Rust queries: add (function_item) as a local scope (#3345)

This commit is contained in:
ChrHorn 2022-08-06 12:58:06 +02:00 committed by GitHub
parent 63ec10950f
commit 23f4a40a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,10 @@
; Scopes
(block) @local.scope
(closure_expression) @local.scope
[
(function_item)
(closure_expression)
(block)
] @local.scope
; Definitions