summaryrefslogtreecommitdiff
path: root/runtime/queries/d/textobjects.scm
blob: 9ca071605e14fa18b9e14a4c9a26497375d95dd6 (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.insid) @test.around
(parameter) @parameter.inside
(template_parameter) @parameter.inside