mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 19:58:12 +03:00
36 lines
788 B
Scheme
36 lines
788 B
Scheme
(method_declaration
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(interface_declaration
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(class_declaration
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(record_declaration
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(enum_declaration
|
|
body: (_) @class.inside) @class.around
|
|
|
|
(formal_parameters
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
(type_parameters
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
(type_arguments
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
(argument_list
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
[
|
|
(line_comment)
|
|
(block_comment)
|
|
] @comment.inside
|
|
|
|
(line_comment)+ @comment.around
|
|
|
|
(block_comment) @comment.around
|