mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
24 lines
324 B
Scheme
24 lines
324 B
Scheme
; Scopes
|
|
;-------
|
|
|
|
[
|
|
(statement_block)
|
|
(function)
|
|
(arrow_function)
|
|
(function_declaration)
|
|
(method_definition)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
;------------
|
|
|
|
(pattern/identifier)@local.definition
|
|
|
|
(variable_declarator
|
|
name: (identifier) @local.definition)
|
|
|
|
; References
|
|
;------------
|
|
|
|
(identifier) @local.reference
|