Skip to content

Commit ae4016d

Browse files
committed
Add bracket matching to injections
1 parent a1db36a commit ae4016d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language-configuration.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"colorizedBracketPairs": [
4545
["${", "}"],
4646
["{", "}"],
47-
["[", "]"]
47+
["[", "]"],
48+
["(", ")"]
4849
],
4950
// "wordPattern" doesn't support `atomic` groups or `possessive quantifiers`, leading to catastrophic backtracking. Workaround is to use a lookahead and backreference /(?=(?<name>)...)\\k<name>/
5051
// "wordPattern" is used in reference for intellisense suggestion triggering, word highlighting and ctrl+hover definitions

0 commit comments

Comments
 (0)