github JohnnyMorganz/StyLua v0.12.4

latest releases: v0.20.0, v0.19.1, v0.19.0...
2 years ago

[0.12.4] - 2022-03-02

Fixed

General

  • Fixed comments being lost around a condition when unnecessary parentheses are removed. (#389)
  • Fixed multiline expression with comments inside parentheses being collapsed leading to a syntax error. (#386)
  • Fixed ignore comments not respected in child blocks of ignored statements. (#387)

Luau

  • Fixed long comments forcing unnecessary hanging of type declarations. (#384)
  • Fixed long intersection types not hanging. (#382)
  • Fixed values in type tables not hanging when over width. (#394)
  • Fixed type info generics not hanging when over width. (#394)
  • Fixed callback types with binop type parameters / return types not hanging leading to a syntax error when comments are present. (#396)
  • Fixed type declarations not hanging properly causing them to go over width. This includes hanging at the equals token and hanging union/intersection types.

Don't miss a new StyLua release

NewReleases is sending notifications on new releases.