Skip to content

Commit f83dce0

Browse files
committed
Auto merge of rust-lang#12042 - jonas-schievink:remove-angle-brackets-from-lang-config, r=jonas-schievink
fix: remove angle brackets from language configuration This should fix rust-lang/rust-analyzer#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: microsoft/language-server-protocol#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).
2 parents 3bda70a + c1a28cc commit f83dce0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

editors/code/language-configuration.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"brackets": [
77
["{", "}"],
88
["[", "]"],
9-
["(", ")"],
10-
["<", ">"]
9+
["(", ")"]
1110
],
1211
"colorizedBracketPairs": [
1312
["{", "}"],

0 commit comments

Comments
 (0)