mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md adjust indents for bass fix doc capture comment
This commit is contained in:
parent
b4fcc61175
commit
cb568af539
80 changed files with 592 additions and 575 deletions
|
|
@ -315,14 +315,14 @@ the node describing the language and `@content` to describe the injection region
|
|||
### Indents
|
||||
|
||||
```scheme
|
||||
@indent ; indent children when matching this node
|
||||
@indent_end ; marks the end of indented block
|
||||
@aligned_indent ; behaves like python aligned/hanging indent
|
||||
@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
|
||||
@zero_indent ; 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)
|
||||
```
|
||||
|
||||
[Matrix channel]: https://matrix.to/#/#nvim-treesitter:matrix.org
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue