[0.11.2] - 2021-11-15
Fixed
- Fixed spaces around brackets string (
[[string]]
) used as an index or table key (i.e.[ [[string]] ]
) being removed, leading to a syntax error. (#293) - Fixed incorrect shape calculation leading to arguments incorrectly expanding when under column width. (#298)
- Fixed incorrect shape calculation for singleline table at the column width boundary. (#296)
- Fixed IfExpression syntax containing extra/abnormal trailing whitespace when currently formatting as-is under the
luau
feature flag. (#297) - Fixed newlines before arguments in a function call which is later formatted on a single line being preserved, leading to inconsistent formatting. (#290)
- Fixed odd formatting when returning multiple tables or functions only. (#302)
- Fixed comments within an index expression (
foo[index]
) incorrectly handled leading to malformed formatting. (#304)