Skip to content

Commit 9bc1eb4

Browse files
committed
Auto merge of rust-lang#16820 - lnicola:no-string-comment-autoclose, r=lnicola
fix: Don't auto-close block comments in strings Fixes rust-lang#16815
2 parents d3e6fea + cb6c26b commit 9bc1eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: editors/code/language-configuration.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{ "open": "[", "close": "]" },
1919
{ "open": "(", "close": ")" },
2020
{ "open": "\"", "close": "\"", "notIn": ["string"] },
21-
{ "open": "/*", "close": " */" },
21+
{ "open": "/*", "close": " */", "notIn": ["string"] },
2222
{ "open": "`", "close": "`", "notIn": ["string"] }
2323
],
2424
"autoCloseBefore": ";:.,=}])> \n\t",

0 commit comments

Comments
 (0)