summaryrefslogtreecommitdiff
path: root/runtime/queries/d/textobjects.scm
blob: 6e9e623a943cfb472d90d3328bf8ed73e7c3dc7d (plain) (blame)
1
2
3
4
5
6
7
8
9
(function_declaration (function_body) @function.inside) @function.around
(comment) @comment.inside
(comment)+ @comment.around
(class_declaration (aggregate_body) @class.inside) @class.around
(interface_declaration (aggregate_body) @class.inside) @class.around
(struct_declaration (aggregate_body) @class.inside) @class.around
(unittest_declaration (block_statement) @test.inside) @test.around
(parameter) @parameter.inside
(template_parameter) @parameter.inside