mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 04:17:43 +03:00
Add support for D (#4372)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
de607830a2
commit
36f97b6aad
6 changed files with 275 additions and 0 deletions
9
runtime/queries/d/textobjects.scm
Normal file
9
runtime/queries/d/textobjects.scm
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue