forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
650 B
Scheme
28 lines
650 B
Scheme
2 years ago
|
(function_declaration
|
||
|
body: (block)? @function.inside) @function.around
|
||
|
|
||
|
((function_declaration
|
||
|
name: (identifier) @_name
|
||
|
body: (block)? @test.inside) @test.around
|
||
|
(#match? @_name "^test"))
|
||
|
|
||
|
(fn_literal
|
||
|
body: (block)? @function.inside) @function.around
|
||
|
|
||
|
(parameter_list
|
||
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||
|
|
||
|
(call_expression
|
||
|
(argument_list
|
||
|
((_) @parameter.inside) @parameter.around))
|
||
|
|
||
|
(struct_declaration
|
||
|
(struct_field_declaration_list) @class.inside) @class.around
|
||
|
|
||
|
(struct_field_declaration_list
|
||
|
((_) @parameter.inside) @parameter.around)
|
||
|
|
||
|
(comment) @comment.inside
|
||
|
(comment)+ @comment.around
|
||
|
|