mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
Rust queries: add (function_item)
as a local scope (#3345)
This commit is contained in:
parent
63ec10950f
commit
23f4a40a7a
@ -1,7 +1,10 @@
|
||||
; Scopes
|
||||
|
||||
(block) @local.scope
|
||||
(closure_expression) @local.scope
|
||||
[
|
||||
(function_item)
|
||||
(closure_expression)
|
||||
(block)
|
||||
] @local.scope
|
||||
|
||||
; Definitions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user