Author | Jamozed <[email protected]> |
Date | 2021-07-06 05:23:12 |
Commit | 57ce57745083873aa7f30066663651244725cc47 |
Parent | 49d702e82e5218a4f81e585ac260e0d1afec90d7 |
Disable auto closing pairs inside comments
Diffstat
M | language-configuration.json | | | 11 | ++++++----- |
1 files changed, 6 insertions, 5 deletions
diff --git a/language-configuration.json b/language-configuration.json index f71fa2a..517e902 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -8,11 +8,12 @@ [ "(", ")" ] ], "autoClosingPairs": [ - [ "[", "]" ], - [ "{", "}" ], - [ "(", ")" ], - [ "'", "'" ], - [ "\"", "\"" ] + { "open": "[", "close": "]", "notIn": [ "comment" ] }, + { "open": "{", "close": "}", "notIn": [ "comment" ] }, + { "open": "(", "close": ")", "notIn": [ "comment" ] }, + { "open": "'", "close": "'", "notIn": [ "comment" ] }, + { "open": "\"", "close": "\"", "notIn": [ "comment" ] }, + { "open": "(*", "close": "*)", "notIn": [ "comment" ] } ], "surroundingPairs": [ [ "[", "]" ],