* [bugfix] fix #11469, new rules for a newline in nimpretty * concatenate two lines if they have the same indentation level
This commit is contained in:
parent
0a81b038fd
commit
f288e1b11a
7 changed files with 112 additions and 72 deletions
|
|
@ -8,9 +8,9 @@ foo bar
|
|||
proc fun() =
|
||||
echo "ok1"
|
||||
|
||||
proc fun2(a = "fooo" & "bar" & "bar" & "bar" & "bar" & (
|
||||
"bar" & "bar" & "bar") & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" &
|
||||
"bar" & "bar" & "bar"): auto =
|
||||
proc fun2(a = "fooo" & "bar" & "bar" & "bar" & "bar" & ("bar" & "bar" & "bar") &
|
||||
"bar" & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" &
|
||||
"bar"): auto =
|
||||
discard
|
||||
|
||||
fun2()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue