Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #16453 - Veykril:brackets, r=Veykril
internal: Undo special bracket classification for attributes in vscode config I changed this thinking the `#` could be considered part of the bracket but on second though I don't think that's quite right in general. Fixes https://github.com/rust-lang/rust-analyzer/issues/16449
bors 2024-01-31
parent d923d62 · parent 8f1a253 · commit 9a832c4
-rw-r--r--editors/code/language-configuration.json6
1 files changed, 1 insertions, 5 deletions
diff --git a/editors/code/language-configuration.json b/editors/code/language-configuration.json
index a2af8b51a9..1c348b63f1 100644
--- a/editors/code/language-configuration.json
+++ b/editors/code/language-configuration.json
@@ -6,9 +6,7 @@
"brackets": [
["{", "}"],
["[", "]"],
- ["(", ")"],
- ["#[", "]"],
- ["#![", "]"]
+ ["(", ")"]
],
"colorizedBracketPairs": [
["{", "}"],
@@ -19,8 +17,6 @@
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
- { "open": "#[", "close": "]" },
- { "open": "#![", "close": "]" },
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "/*", "close": " */" },
{ "open": "`", "close": "`", "notIn": ["string"] }