1
0
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:
张志豪 2021-02-21 23:45:30 +08:00
parent 104fd6c424
commit 4571136041

View File

@ -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) {