-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Seems to be related to #337
I have a long for loop with explicitly typed variables like this:
for _id: number, transform: Components.Transform, angularControls: Components.AngularControls, characterModel: Components.CharacterModel in world:query(Transform, AngularControls, CharacterModel) do
-- ...
endI would expect stylua to format the code this way:
for
_id: number,
transform: Components.Transform,
angularControls: Components.AngularControls,
characterModel: Components.CharacterModel
in world:query(Transform, AngularControls, CharacterModel) do
-- ...
endHowever, it gets formatted like this:
for _id: number, transform: Components.Transform, angularControls: Components.AngularControls, characterModel: Components.CharacterModel in
world:query(Transform, AngularControls, CharacterModel)
do
-- ...
endThis still exceeds my defined column_width of 100. If I set column_width to 110, stylua won't modify the code, which is still not desired behavior. If I remove the types and add more variables to match to column width, I get the expected result.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working