mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
Add @indent.open_delimiter and @indent.close_delimiter to CONTRIBUTING.md
This commit is contained in:
parent
7461aeb816
commit
370881eeb2
1 changed files with 10 additions and 8 deletions
|
|
@ -388,14 +388,16 @@ To combine all matches of a pattern as one single block of content, add `(#set!
|
|||
### Indents
|
||||
|
||||
```query
|
||||
@indent.begin ; indent children when matching this node
|
||||
@indent.end ; marks the end of indented block
|
||||
@indent.align ; behaves like python aligned/hanging indent
|
||||
@indent.dedent ; dedent children when matching this node
|
||||
@indent.branch ; dedent itself when matching this node
|
||||
@indent.ignore ; do not indent in this node
|
||||
@indent.auto ; behaves like 'autoindent' buffer option
|
||||
@indent.zero ; sets this node at position 0 (no indent)
|
||||
@indent.begin ; indent children when matching this node
|
||||
@indent.end ; marks the end of indented block
|
||||
@indent.align ; behaves like python aligned/hanging indent
|
||||
@indent.dedent ; dedent children when matching this node
|
||||
@indent.branch ; dedent itself when matching this node
|
||||
@indent.ignore ; do not indent in this node
|
||||
@indent.auto ; behaves like 'autoindent' buffer option
|
||||
@indent.zero ; sets this node at position 0 (no indent)
|
||||
@indent.open_delimiter ; opening delimiter within @indent.align node
|
||||
@indent.close_delimiter ; closing delimiter within @indent.align node
|
||||
```
|
||||
|
||||
[Matrix channel]: https://matrix.to/#/#nvim-treesitter:matrix.org
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue