github JohnnyMorganz/StyLua v0.12.1

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

[0.12.1] - 2022-02-01

Fixed

  • Fixed misformatting of conditions in if-expression syntax leading to spurious whitespace under the luau feature flag. (#349)
  • Fixed incorrect shape calculation in if-expression syntax: if-expression will now go multiline when only slightly over column width (luau feature flag).
  • Fixed incorrect handling of comments at the end of a callback type's arguments under the luau feature flag. (#352)
  • Fixed mistransformation of type declaration when the type info is a union which must be multiline due to comments under the luau feature flag. (#351)
  • Fixed leading comments on a | symbol in a type info being lost when hanging the type under the luau feature flag.
  • Fixed trailing comments of a function call being lost as parentheses are removed around a single argument when call_parentheses is set to not Always. (#356)

What's Changed

Full Changelog: v0.12.0...v0.12.1

Don't miss a new StyLua release

NewReleases is sending notifications on new releases.