Do not indent closing bracket of array access expression

#KT-22641 Fixed
This commit is contained in:
Dmitry Jemerov
2018-02-04 11:04:22 +01:00
parent 36f5525b12
commit 8f9b818e43
2 changed files with 4 additions and 3 deletions
@@ -723,6 +723,7 @@ private val INDENT_RULES = arrayOf(
strategy("Indices")
.within(KtNodeTypes.INDICES)
.notForType(KtTokens.RBRACKET)
.set(Indent.getContinuationIndent(false)),
strategy("Binary expressions")
+3 -3
View File
@@ -6,13 +6,13 @@ fun test() {
a[
1, 2
]
]
a[
1, 2
]
]
a[
@@ -20,5 +20,5 @@ fun test() {
1, 2
]
]
}