mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
43 lines
675 B
Scheme
43 lines
675 B
Scheme
; Scopes
|
|
|
|
[
|
|
(template_body)
|
|
(lambda_expression)
|
|
(function_definition)
|
|
(block)
|
|
] @scope
|
|
|
|
; References
|
|
|
|
(identifier) @reference
|
|
|
|
; Definitions
|
|
|
|
(function_declaration
|
|
name: (identifier) @definition.function)
|
|
|
|
(function_definition
|
|
name: (identifier) @definition.function)
|
|
|
|
(parameter
|
|
name: (identifier) @definition.parameter)
|
|
|
|
(class_parameter
|
|
name: (identifier) @definition.parameter)
|
|
|
|
(binding
|
|
name: (identifier) @definition.var)
|
|
|
|
(val_definition
|
|
pattern: (identifier) @definition.var)
|
|
|
|
(var_definition
|
|
pattern: (identifier) @definition.var)
|
|
|
|
(val_declaration
|
|
name: (identifier) @definition.var)
|
|
|
|
(var_declaration
|
|
name: (identifier) @definition.var)
|
|
|