mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
28 lines
681 B
Scheme
28 lines
681 B
Scheme
|
(method_declaration
|
||
|
(block) @function.inside) @function.around
|
||
|
|
||
|
(creation_method_declaration
|
||
|
(block) @function.inside) @function.around
|
||
|
|
||
|
(method_declaration
|
||
|
((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||
|
|
||
|
[
|
||
|
(class_declaration)
|
||
|
(struct_declaration)
|
||
|
(interface_declaration)
|
||
|
] @class.around
|
||
|
|
||
|
(type_arguments
|
||
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||
|
|
||
|
(creation_method_declaration
|
||
|
((parameter) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||
|
|
||
|
(method_call_expression
|
||
|
((argument) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||
|
|
||
|
(comment) @comment.inside
|
||
|
|
||
|
(comment)+ @comment.around
|