From 4546bc7ebb75a69d25b2b43be342efb5c112a8d3 Mon Sep 17 00:00:00 2001 From: rebornix Date: Wed, 26 Jul 2017 11:31:17 -0700 Subject: [PATCH] Indent Rules for Less --- extensions/less/language-configuration.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extensions/less/language-configuration.json b/extensions/less/language-configuration.json index 36a9cccd688..f60130d9d46 100644 --- a/extensions/less/language-configuration.json +++ b/extensions/less/language-configuration.json @@ -21,5 +21,9 @@ ["(", ")"], ["\"", "\""], ["'", "'"] - ] + ], + "indentationRules": { + "increaseIndentPattern": "(^.*\\{[^}]*$)", + "decreaseIndentPattern": "^\\s*\\}" + } } \ No newline at end of file