Insert paird brackets: enable on before colon #KT-9840 Fixed
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user