-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I set my column width to 88 and these two table keys occupies exactly 88 chars + 1 char from the last comma separating the keys.
a = {
key1 = string.format("test", "test", "test", "test", "test", "test", variable_names),
key2 = string.format("test", "test", "test", "test", "test", "test", variable_names),
}But stylua doesn't chop down the arguments like it is supposed to, so it seems that the comma isn't taken into account when calculating the column width.
If you extend the arguments like this:
a = {
key1 = string.format(
"test",
"test",
"test",
"test",
"test",
"test",
variable_names_
),
key2 = string.format(
"test",
"test",
"test",
"test",
"test",
"test",
variable_names_
),
}stylua will chop them down properly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working