You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example command: stylua --column-width 120 --collapse-simple-statement Always -- stylua-width-issue.lua (assuming 'stylua-width-issue.lua' has this code example)
With versions 0.15.2 (current release) and 0.14.0 it doesn't change formatting, although second line is way over 120. Adding one more "x" leads to splitting function definition into three lines.
My guess is that it somehow conflicts with performing hanging assignment.
The text was updated successfully, but these errors were encountered:
echasnovski
changed the title
Sometime result is over line width for inline function inside table
Sometimes result is over line width for inline function inside table
Nov 12, 2022
Example file content:
Example command:
stylua --column-width 120 --collapse-simple-statement Always -- stylua-width-issue.lua
(assuming 'stylua-width-issue.lua' has this code example)With versions 0.15.2 (current release) and 0.14.0 it doesn't change formatting, although second line is way over 120. Adding one more "x" leads to splitting function definition into three lines.
My guess is that it somehow conflicts with performing hanging assignment.
The text was updated successfully, but these errors were encountered: