diff --git a/language-configuration.json b/language-configuration.json index 71c418fa..f3018c7e 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -18,40 +18,16 @@ ], "onEnterRules": [ { - "beforeText": "\\}", - "action": { - "indent": "outdent" - } - }, - { - "beforeText": "\\{", - "action": { - "indent": "indent" - } - }, - { - "beforeText": "\\)", - "action": { - "indent": "outdent" - } - }, - { - "beforeText": "\\(", + "beforeText": "^[{[(]", "action": { "indent": "indent" } }, { - "beforeText": "\\]", + "beforeText": "^s*[)}]]", "action": { "indent": "outdent" } - }, - { - "beforeText": "\\[", - "action": { - "indent": "indent" - } } ], "comments": {