-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
For the input below, I expected that the formatted output kept the same amount of lines:
foo.bar('-------------------------------------------------------------------------------------------------------------')
.returns()
foo.bar('--------------------------------------------------------------------------------------------------')
.returns()
.way()
.longer()
.chain()However, StyLua formatted it like the output below, where each function call chain is joined on a line. The lines are longer than the column limit of 120, and that doesn't read nice.
foo.bar("-------------------------------------------------------------------------------------------------------------").returns()
foo.bar("--------------------------------------------------------------------------------------------------").returns().way().longer().chain()I'm posting it here, because it looks like a duplicate of this issue.
Originally posted by @TjeuKayim in #78 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working