diff --git a/extensions/yaml/language-configuration.json b/extensions/yaml/language-configuration.json index cc1aa26cde6..010d773d3f3 100644 --- a/extensions/yaml/language-configuration.json +++ b/extensions/yaml/language-configuration.json @@ -23,5 +23,9 @@ ], "folding": { "offSide": true + }, + "indentationRules": { + "increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$", + "decreaseIndentPattern": "^\\s+\\}$" } -} \ No newline at end of file +}