mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
This helps to solve the first issue reported at #1377. The problem is that the line loses its indentation when we start inserting a new mapping pair (specifically, when we enter the character ":"). The issue seems to be solved by auto indenting ERROR nodes.
6 lines
74 B
Scheme
6 lines
74 B
Scheme
[
|
|
(block_mapping_pair)
|
|
(block_sequence_item)
|
|
] @indent
|
|
|
|
(ERROR) @auto
|