mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
This improves the following situation, in which '|' is the cursor position:
```yaml
- key1: value1
key2: value2|
```
Before this commit, by pressing Enter would result in this indentation:
```yaml
- key1: value1
key2: value2
|
```
Which is less convenient than this:
```yaml
- key1: value1
key2: value2
|
```
6 lines
94 B
Scheme
6 lines
94 B
Scheme
[
|
|
(block_mapping_pair value: (block_node))
|
|
(block_sequence_item)
|
|
] @indent
|
|
|
|
(ERROR) @auto
|