From f07d1359398a3943a25ef55f06ebe34600bcfae8 Mon Sep 17 00:00:00 2001 From: ecmel Date: Mon, 23 Oct 2023 18:41:04 +0300 Subject: [PATCH] fixes KXI-32045 --- language-configuration.json | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) 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": {