diff --git a/extensions/docker/language-configuration.json b/extensions/docker/language-configuration.json index cab4f6602ff..08a483ad5ce 100644 --- a/extensions/docker/language-configuration.json +++ b/extensions/docker/language-configuration.json @@ -20,5 +20,9 @@ ["(", ")"], ["\"", "\""], ["'", "'"] - ] -} \ No newline at end of file + ], + "indentationRules": { + "increaseIndentPattern": "^\\s*.*(:|-) ?(&\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$", + "decreaseIndentPattern": "^\\s+\\}$" + } +}