feat: rewrite indent module

This commit is contained in:
Munif Tanjim 2022-01-18 21:17:26 +06:00 committed by Christian Clason
parent baf94219aa
commit c0110e34aa
13 changed files with 136 additions and 182 deletions

View file

@ -269,10 +269,11 @@ the node describing the language and `@content` to describe the injection region
### Indents
```
@indent ; Indent when matching this node
@branch ; Dedent when matching this node
@return ; Dedent when matching this node
@ignore ; Skip this node when calculating the indentation level
@indent ; Indent children when matching this node
@dedent ; Dedent children when matching this node
@branch ; Dedent itself when matching this node
@ignore ; Do not indent in this node
@auto ; Behaves like 'autoindent' buffer option
```
[Zulip]: nvim-treesitter.zulipchat.com