mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
384 B
Scheme
19 lines
384 B
Scheme
(import_declaration (identifier) @definition.import)
|
|
(function_declaration name: (simple_identifier) @definition.function)
|
|
|
|
; Scopes
|
|
[
|
|
(statements)
|
|
(for_statement)
|
|
(while_statement)
|
|
(repeat_while_statement)
|
|
(do_statement)
|
|
(if_statement)
|
|
(guard_statement)
|
|
(switch_statement)
|
|
(property_declaration)
|
|
(function_declaration)
|
|
(class_declaration)
|
|
(protocol_declaration)
|
|
] @scope
|