mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
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.
16 lines
182 B
Scheme
16 lines
182 B
Scheme
(element) @indent.begin
|
|
|
|
[
|
|
(Attribute)
|
|
(AttlistDecl)
|
|
(contentspec)
|
|
] @indent.align
|
|
|
|
(ETag) @indent.branch
|
|
|
|
(doctypedecl) @indent.ignore
|
|
|
|
[
|
|
(Comment)
|
|
(ERROR)
|
|
] @indent.auto
|