mirror of https://github.com/helix-editor/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.
23 lines
678 B
Scheme
23 lines
678 B
Scheme
(function_declaration
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(test_declaration (_) (block) @test.inside) @test.around
|
|
|
|
; matches all of: struct, enum, union
|
|
; this unfortunately cannot be split up because
|
|
; of the way struct "container" types are defined
|
|
(variable_declaration (identifier) (struct_declaration
|
|
(_) @class.inside)) @class.around
|
|
|
|
(variable_declaration (identifier) (enum_declaration
|
|
(_) @class.inside)) @class.around
|
|
|
|
(variable_declaration (identifier) (enum_declaration
|
|
(_) @class.inside)) @class.around
|
|
|
|
(parameters
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
(comment) @comment.inside
|
|
(comment)+ @comment.around
|