diff --git a/idea/src/org/jetbrains/kotlin/idea/KotlinPairMatcher.kt b/idea/src/org/jetbrains/kotlin/idea/KotlinPairMatcher.kt index 2231a5c15e5..e63699b26a6 100644 --- a/idea/src/org/jetbrains/kotlin/idea/KotlinPairMatcher.kt +++ b/idea/src/org/jetbrains/kotlin/idea/KotlinPairMatcher.kt @@ -29,6 +29,7 @@ class KotlinPairMatcher : PairedBraceMatcher { // KotlinTypedHandler insert paired brace in this case false } else KtTokens.WHITE_SPACE_OR_COMMENT_BIT_SET.contains(contextType) + || contextType === KtTokens.COLON || contextType === KtTokens.SEMICOLON || contextType === KtTokens.COMMA || contextType === KtTokens.RPAR