Closed
Description
openedon Jan 3, 2023
This issue changes the behavior when both brackets and colorizedBracketPairs are configured, for example through this configuration:
"[plaintext]": {
"editor.language.brackets": [
["{", "}"],
["(", ")"],
["[", "]"]
],
"editor.language.colorizedBracketPairs": [
["{", "}"],
["<", ">"]
]
},
In this case, the four bracket pairs {}
, ()
, []
and <>
should be matched.
However, only the pairs {}
and <>
should get highlighted.
In particular, this restores the bracket matching behavior for plain text files before colorization was introduced.
Verification Steps
Configure editor.language.brackets
and editor.language.colorizedBracketPairs
and verify that the former just matches brackets and the latter colorizes them. Verify they can be configured independently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment