mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
feat: add xml & dtd parsers
This commit is contained in:
parent
800b2f388b
commit
5b3dd8cff1
12 changed files with 261 additions and 3 deletions
16
queries/xml/indents.scm
Normal file
16
queries/xml/indents.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(element) @indent.begin
|
||||
|
||||
[
|
||||
(Attribute)
|
||||
(AttlistDecl)
|
||||
(contentspec)
|
||||
] @indent.align
|
||||
|
||||
(ETag) @indent.dedent
|
||||
|
||||
(doctypedecl) @indent.ignore
|
||||
|
||||
[
|
||||
(Comment)
|
||||
(ERROR)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue