mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Merge #10186
10186: configure colorizedBracketPairs r=matklad a=IceSentry The new bracket pair colorization feature of vscode colorizes all brackets no matter the language. In the context of rust colorizing the '<' and '>' brackets doesn't make sense most of the time, especially in match statements with math like the following screenshot.  Currently this configuration is only possible on a language server level which is why this PR is necessary. See https://github.com/microsoft/vscode/issues/132175 and https://github.com/microsoft/vscode/issues/132476 for more information on the issue in vscode Co-authored-by: IceSentry <c.giguere42@gmail.com>
This commit is contained in:
commit
f1bcf975a7
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@
|
|||
["(", ")"],
|
||||
["<", ">"]
|
||||
],
|
||||
"colorizedBracketPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
{ "open": "{", "close": "}" },
|
||||
{ "open": "[", "close": "]" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue