mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix(xml): properly indent closing tags
Confusing as it is, https://github.com/heurist/nvim-treesitter/blob/master/CONTRIBUTING.md?plain=1#L394 says: ```query @indent.dedent ; dedent children when matching this node @indent.branch ; dedent itself when matching this node ``` @indent.branch is therefore the approriate choice for de-indenting.
This commit is contained in:
parent
1087b183a7
commit
4b22291348
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
(contentspec)
|
(contentspec)
|
||||||
] @indent.align
|
] @indent.align
|
||||||
|
|
||||||
(ETag) @indent.dedent
|
(ETag) @indent.branch
|
||||||
|
|
||||||
(doctypedecl) @indent.ignore
|
(doctypedecl) @indent.ignore
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue