mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 10:57:48 +03:00
33 lines
714 B
Scheme
33 lines
714 B
Scheme
(struct_item
|
|
name: (type_identifier) @definition.struct
|
|
body: (field_declaration_list))
|
|
|
|
(const_item
|
|
name: (identifier) @definition.constant)
|
|
|
|
(trait_item
|
|
name: (type_identifier) @definition.interface
|
|
body: (declaration_list))
|
|
|
|
(function_item
|
|
name: (identifier) @definition.function
|
|
parameters: (parameters)
|
|
body: (block))
|
|
|
|
(function_signature_item
|
|
name: (identifier) @definition.function
|
|
parameters: (parameters))
|
|
|
|
(enum_item
|
|
name: (type_identifier) @definition.type
|
|
body: (enum_variant_list))
|
|
|
|
(enum_variant
|
|
name: (identifier) @definition.struct)
|
|
|
|
(mod_item
|
|
name: (identifier) @definition.module
|
|
body: (declaration_list))
|
|
|
|
(macro_definition
|
|
macro: (identifier) @definition.macro)
|