mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Auto merge of #16820 - lnicola:no-string-comment-autoclose, r=lnicola
fix: Don't auto-close block comments in strings Fixes #16815
This commit is contained in:
commit
9bc1eb49b5
@ -18,7 +18,7 @@
|
|||||||
{ "open": "[", "close": "]" },
|
{ "open": "[", "close": "]" },
|
||||||
{ "open": "(", "close": ")" },
|
{ "open": "(", "close": ")" },
|
||||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||||
{ "open": "/*", "close": " */" },
|
{ "open": "/*", "close": " */", "notIn": ["string"] },
|
||||||
{ "open": "`", "close": "`", "notIn": ["string"] }
|
{ "open": "`", "close": "`", "notIn": ["string"] }
|
||||||
],
|
],
|
||||||
"autoCloseBefore": ";:.,=}])> \n\t",
|
"autoCloseBefore": ";:.,=}])> \n\t",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user