mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
feat: rewrite indent module
This commit is contained in:
parent
baf94219aa
commit
c0110e34aa
13 changed files with 136 additions and 182 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue