aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/d/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/d/textobjects.scm')
-rw-r--r--runtime/queries/d/textobjects.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/d/textobjects.scm b/runtime/queries/d/textobjects.scm
new file mode 100644
index 00000000..9ca07160
--- /dev/null
+++ b/runtime/queries/d/textobjects.scm
@@ -0,0 +1,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 \ No newline at end of file