1
0
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:
ChrHorn 2022-08-06 12:58:06 +02:00 committed by GitHub
parent 63ec10950f
commit 23f4a40a7a
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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