diff options
author | Garrett D'Amore | 2022-10-20 21:54:17 +0000 |
---|---|---|
committer | GitHub | 2022-10-20 21:54:17 +0000 |
commit | 36f97b6aadec1a5c0cc61859d4f456f005983be0 (patch) | |
tree | e732a26348c6b35ca6025774a138a12e38202469 /runtime/queries/d/textobjects.scm | |
parent | de607830a2e9643dfe99828b9329f533a4f31fa9 (diff) |
Add support for D (#4372)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/d/textobjects.scm')
-rw-r--r-- | runtime/queries/d/textobjects.scm | 9 |
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 |