diff --git a/language-configuration.json b/language-configuration.json index 27d5ce0..b161fba 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -19,6 +19,11 @@ ["{", "}"], ["\"", "\""], ], + // rules for auto-indent + "indentationRules": { + "increase": "^\\s*.*\\{\\s*$", + "decrease": "^\\s*\\}" + }, // start and end markers for folding regions "folding": { "markers": {