mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
24 lines
580 B
Scheme
24 lines
580 B
Scheme
(var_declaration
|
|
declarators: (var_declarators
|
|
(var (identifier)) @definition.var))
|
|
|
|
(var_assignment
|
|
variables: (assignment_variables
|
|
(var (identifier) @definition.var) @definition.associated))
|
|
|
|
(arg name: (identifier) @definition.parameter)
|
|
|
|
(anon_function) @scope
|
|
((function_statement
|
|
(function_name) @definition.function) @scope)
|
|
|
|
(program) @scope
|
|
(if_statement) @scope
|
|
(generic_for_statement (for_body) @scope)
|
|
(numeric_for_statement (for_body) @scope)
|
|
(repeat_statement) @scope
|
|
(while_statement (while_body) @scope)
|
|
(do_statement) @scope
|
|
|
|
(identifier) @reference
|