Stop formatting line breaks between keywords and parentheses
This commit is contained in:
committed by
Dmitry Jemerov
parent
c6acc4c5be
commit
839141e4f6
+2
-1
@@ -6,7 +6,8 @@ fun test() {
|
||||
} while (true)
|
||||
|
||||
do {
|
||||
} while (true)
|
||||
} while
|
||||
(true)
|
||||
|
||||
do {
|
||||
} while (true)
|
||||
|
||||
+4
-2
@@ -3,10 +3,12 @@ fun f() {
|
||||
}
|
||||
for (i in array(1, 2)) {
|
||||
}
|
||||
for (i in array(1, 2)) {
|
||||
for
|
||||
(i in array(1, 2)) {
|
||||
}
|
||||
|
||||
for (i in array(1, 2)) {
|
||||
for
|
||||
(i in array(1, 2)) {
|
||||
}
|
||||
|
||||
for (i in array(1, 2)) continue
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ fun f() {
|
||||
}
|
||||
if (1 == 2) {
|
||||
}
|
||||
if (1 == 2) {
|
||||
if
|
||||
(1 == 2) {
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
||||
+6
-2
@@ -21,11 +21,15 @@ fun some(x: Any) {
|
||||
|
||||
}
|
||||
|
||||
when (true) {
|
||||
when
|
||||
(true) {
|
||||
|
||||
}
|
||||
|
||||
when (true) {
|
||||
when
|
||||
|
||||
|
||||
(true) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+6
-2
@@ -21,11 +21,15 @@ fun some(x: Any) {
|
||||
|
||||
}
|
||||
|
||||
when (true) {
|
||||
when
|
||||
(true) {
|
||||
|
||||
}
|
||||
|
||||
when (true) {
|
||||
when
|
||||
|
||||
|
||||
(true) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,8 @@ fun test() {
|
||||
}
|
||||
while (1 == 2) {
|
||||
}
|
||||
while (1 == 2) {
|
||||
while
|
||||
(1 == 2) {
|
||||
}
|
||||
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user