fix(indents/yaml): improve error handling

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.
This commit is contained in:
Phelipe Teles 2022-06-05 22:07:37 -03:00 committed by Stephan Seitz
parent 5e8ec943f8
commit 1a49d068a7

View file

@ -2,3 +2,5 @@
(block_mapping_pair)
(block_sequence_item)
] @indent
(ERROR) @auto