Skip to content

Commit 6ca7807

Browse files
authored
Merge pull request #19514 from BenjaminBrienen/color-brackets-string
Fix color brackets in string context
2 parents 0d64633 + 25c732e commit 6ca7807

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editors/code/language-configuration.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
["(", ")"]
1515
],
1616
"autoClosingPairs": [
17-
{ "open": "{", "close": "}" },
18-
{ "open": "[", "close": "]" },
19-
{ "open": "(", "close": ")" },
17+
{ "open": "{", "close": "}", "notIn": ["string"] },
18+
{ "open": "[", "close": "]", "notIn": ["string"] },
19+
{ "open": "(", "close": ")", "notIn": ["string"] },
2020
{ "open": "\"", "close": "\"", "notIn": ["string"] },
2121
{ "open": "/*", "close": " */", "notIn": ["string"] },
2222
{ "open": "`", "close": "`", "notIn": ["string"] },

0 commit comments

Comments
 (0)