Skip to content

Commit 1aa00f5

Browse files
committed
[ext/yaml] add indentation rules configuration
1 parent 2bab83a commit 1aa00f5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

extensions/yaml/language-configuration.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@
2323
],
2424
"folding": {
2525
"offSide": true
26+
},
27+
"indentationRules": {
28+
"increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
29+
"decreaseIndentPattern": "^\\s+\\}$"
2630
}
27-
}
31+
}

0 commit comments

Comments
 (0)