Indent content of when (KT-14066)
#KT-14066 Fixed
This commit is contained in:
@@ -660,8 +660,9 @@ private val INDENT_RULES = arrayOf(
|
||||
.within(KtNodeTypes.BODY).notForType(KtNodeTypes.BLOCK)
|
||||
.set(Indent.getNormalIndent()),
|
||||
|
||||
strategy("For the entry in when")
|
||||
.forType(KtNodeTypes.WHEN_ENTRY)
|
||||
strategy("For WHEN content")
|
||||
.within(KtNodeTypes.WHEN)
|
||||
.notForType(RBRACE, LBRACE, WHEN_KEYWORD)
|
||||
.set(Indent.getNormalIndent()),
|
||||
|
||||
strategy("For single statement in THEN and ELSE")
|
||||
|
||||
Reference in New Issue
Block a user