parsers: add D parser

This commit is contained in:
Cezary Drożak 2021-10-01 11:33:33 +02:00 committed by Stephan Seitz
parent e87ed0fdaa
commit c2c454c29a
5 changed files with 300 additions and 0 deletions

17
queries/d/indents.scm Normal file
View file

@ -0,0 +1,17 @@
[
(block_statement)
(case_statement)
(token_string)
] @indent
[
"(" ")"
"{" "}"
"[" "]"
] @branch
[
(line_comment)
(block_comment)
(nesting_block_comment)
] @ignore