[bugfix] fix #11469, new rules for a newline in nimpretty (#11512)

* [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:
Miran 2019-06-26 15:36:44 +02:00 • committed by Andreas Rumpf
commit f288e1b11a
7 changed files with 112 additions and 72 deletions

View file

@ -9,11 +9,11 @@ import pkg/[
]
proc fun() =
let a = [
1,
2,
]
discard
let a = [
1,
2,
]
discard
proc funB() =
let a = [