Auto merge of #12042 - jonas-schievink:remove-angle-brackets-from-lang-config, r=jonas-schievink

fix: remove angle brackets from language configuration

This should fix https://github.com/rust-lang/rust-analyzer/issues/12034

It looks like we shouldn't add any characters here that can be ambiguous, because it can make the editor highlight unrelated characters. This needs a parser to be correct, so the language server is the right place, not the editor. Upstream LSP feature request: https://github.com/microsoft/language-server-protocol/issues/672 (but it might be possible to implement this as an extension today, as long as that doesn't conflict with the built-in highlighting).
This commit is contained in:
bors 2022-04-20 14:54:24 +00:00
commit f83dce0a4a

View File

@ -6,8 +6,7 @@
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"],
["<", ">"]
["(", ")"]
],
"colorizedBracketPairs": [
["{", "}"],