mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
24 lines
573 B
Scheme
24 lines
573 B
Scheme
(function_signature
|
|
name: (identifier) @name) @definition.function
|
|
|
|
(method_signature
|
|
name: (property_identifier) @name) @definition.method
|
|
|
|
(abstract_method_signature
|
|
name: (property_identifier) @name) @definition.method
|
|
|
|
(abstract_class_declaration
|
|
name: (type_identifier) @name) @definition.class
|
|
|
|
(module
|
|
name: (identifier) @name) @definition.module
|
|
|
|
(interface_declaration
|
|
name: (type_identifier) @name) @definition.interface
|
|
|
|
(type_annotation
|
|
(type_identifier) @name) @reference.type
|
|
|
|
(new_expression
|
|
constructor: (identifier) @name) @reference.class
|