Rust queries: add (function_item)
as a local scope (#3345)
This commit is contained in:
parent
63ec10950f
commit
23f4a40a7a
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
; Scopes
|
||||
|
||||
(block) @local.scope
|
||||
(closure_expression) @local.scope
|
||||
[
|
||||
(function_item)
|
||||
(closure_expression)
|
||||
(block)
|
||||
] @local.scope
|
||||
|
||||
; Definitions
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue