mirror of
https://github.com/chylex/IntelliJ-Rainbow-Brackets.git
synced 2025-05-11 21:34:03 +02:00
Fix missing pair for C#
(cherry picked from commit 5aa184e0c0c67f13a8a108a65a4c14126503b473)
This commit is contained in:
parent
104fd6c424
commit
4571136041
@ -55,6 +55,14 @@ class CSharpRainbowVisitor : RainbowHighlightVisitor() {
|
||||
return count
|
||||
}
|
||||
|
||||
if (element is LeafPsiElement && type == LPARENTH && element.elementType == RPARENTH) {
|
||||
return count
|
||||
}
|
||||
|
||||
if (element is LeafPsiElement && type == RPARENTH && element.elementType == LPARENTH) {
|
||||
return count
|
||||
}
|
||||
|
||||
var nextCount = count
|
||||
|
||||
if (element is LeafPsiElement && element.elementType == type) {
|
||||
|
Loading…
Reference in New Issue
Block a user