Skip to content

Conversation

@clason
Copy link
Contributor

@clason clason commented Sep 14, 2025

Created with brew bump-formula-pr.

release notes
## [2.2.0] - 2025-09-14

Added

  • Added option block_newline_gaps to determine whether newline gaps at the start / end of blocks should be preserved. Defaults to Never, which is the original behaviour. (#857)
  • StyLua can now run in a language server mode. Start StyLua with stylua --lsp and connect with a language client. (#936)

Changed

  • Luau: Improved union of tables formatting to hang the union type rather than attempt to hug all the tables together (#958)

Fixed

  • Fixed formatting of index containing brackets string in parentheses (#992)
  • Fixed goto not being recognised for LuaJIT (#986)
  • Fixed semicolon removed after a statement ending with an if-expression leading to ambiguous syntax when the next line begins with parentheses (#1010)
  • Luau: Fixed malformed formatting when there is a comment after a type specifier in a local assignment (#995)
  • Luau: Fixed long type union formatted onto a single line if there is a comment in between the equals sign and the type union in a type declaration (#1007)
  • Fixed StyLua installation via pip / uv for Windows (#1018)

External Contributions

New Contributors

Full Changelog: JohnnyMorganz/StyLua@v2.1.0...v2.2.0

View the full release notes at https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.2.0.


@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Sep 14, 2025
@github-actions
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Sep 14, 2025
@BrewTestBot BrewTestBot added this pull request to the merge queue Sep 14, 2025
Merged via the queue into Homebrew:main with commit 0e4569b Sep 14, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants