mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
parsers: add D parser
This commit is contained in:
parent
e87ed0fdaa
commit
c2c454c29a
5 changed files with 300 additions and 0 deletions
17
queries/d/indents.scm
Normal file
17
queries/d/indents.scm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[
|
||||
(block_statement)
|
||||
(case_statement)
|
||||
(token_string)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"(" ")"
|
||||
"{" "}"
|
||||
"[" "]"
|
||||
] @branch
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
(nesting_block_comment)
|
||||
] @ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue