Insert paird brackets: enable on before colon #KT-9840 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-09 13:16:37 +09:00
committed by Alexander Podkhalyuzin
parent 5f4e8bf4fb
commit d64ca8a8f9
@@ -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