1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-11 22:38:26 +01:00
helix/runtime/queries/ecma/locals.scm

27 lines
401 B
Scheme

; Scopes
;-------
[
(statement_block)
(arrow_function)
(function_expression)
(function_declaration)
(method_definition)
(for_statement)
(for_in_statement)
(catch_clause)
(finally_clause)
] @local.scope
; Definitions
;------------
; i => ...
(arrow_function
parameter: (identifier) @local.definition.variable.parameter)
; References
;------------
(identifier) @local.reference