From 5e8ec943f8b641e881fc481da076092b5b4d666d Mon Sep 17 00:00:00 2001 From: Phelipe Teles Date: Sun, 5 Jun 2022 20:11:18 -0300 Subject: fix(indents/yaml): indent sequence/list items This solves the second issue reported at #1377, in which the cursor would not be aligned with the line "key2: value2" when entering a new line below it. ```yaml - key1: value1 key2: value2 ``` --- queries/yaml/indents.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/yaml/indents.scm b/queries/yaml/indents.scm index 2ed382e0..23a17336 100644 --- a/queries/yaml/indents.scm +++ b/queries/yaml/indents.scm @@ -1,3 +1,4 @@ [ (block_mapping_pair) + (block_sequence_item) ] @indent -- cgit v1.2.3