diff --git a/extensions/yaml/language-configuration.json b/extensions/yaml/language-configuration.json index 010d773d3f3..9e4d3948f59 100644 --- a/extensions/yaml/language-configuration.json +++ b/extensions/yaml/language-configuration.json @@ -23,6 +23,10 @@ ], "folding": { "offSide": true + "markers": { + "start": "^\\s*#\\s*region\\b", + "end": "^\\s*#\\s*endregion\\b" + } }, "indentationRules": { "increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",