Closed nojaf closed 5 years ago
Before:
let config = [ ("number", "12368") ("date", "616165") ("code: ", "1616155") ("order reference", "561616") ]
The space between [ and ( is removed after formatting but the other lines are formatted one space too far. This happens only when preserveEndOfLine is true.
[
(
preserveEndOfLine
After:
let config = [("number", "12368") ("date", "616165") ("code: ", "1616155") ("order reference", "561616")]
Online tool
This still happens with other types in arrays as well.
F.ex
let lst = [ 5 6 7 ]
Will be
let lst = [5 6 7]
SpaceAroundDelimiter = false.
Cannot happen anymore since trivia.
Description
Before:
The space between
[
and(
is removed after formatting but the other lines are formatted one space too far. This happens only whenpreserveEndOfLine
is true.After:
Repro code
Online tool