Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 14, 2025

This PR contains the following updates:

Package Type Update Change
stylua workspace.dependencies minor 2.1.0 -> 2.3.1

Release Notes

johnnymorganz/stylua (stylua)

v2.3.1

Compare Source

Fixed
  • Use character-wised diff instead of byte-wise diff in the LSP server so that it can handle multi-byte characters (#​1042, #​1043).

v2.3.0

Compare Source

Added
  • The language server has an initialization option called respect_editor_formatting_options.
    If it's true, the formatting handler will override the configurations indent-width and indent-type with values from FormattingOptions
Changed
  • In language server mode, compute the difference between the unformatted and formatted document and only respond with the changes, rather than sending an edit for the whole file
  • Include serverInfo in the language server's InitializeResponse
Fixed
  • Fixed comments lost from expression after parentheses are removed when we are attempting to "hang" the expression. (#​1033)
  • Fixed document_range_formatting_provider capability missing from ServerCapabilities in language server mode
  • Fixed current working directory incorrectly used as config search root in language server mode -- now, the root of the opened workspace is used instead (#​1032)
  • Language server mode now correctly respects .styluaignore files (#​1035)
  • Luau: Fixed parentheses incorrectly removed on a single type that is the default for a variadic generic parameter (#​1038)

v2.2.0

Compare Source

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update rust crate stylua to v2.2.0 chore(deps): update rust crate stylua to v2.3.0 Sep 28, 2025
@renovate renovate bot force-pushed the renovate/stylua-2.x-lockfile branch from 5b1ac87 to 9a4b495 Compare November 1, 2025 14:38
@renovate renovate bot changed the title chore(deps): update rust crate stylua to v2.3.0 chore(deps): update rust crate stylua to v2.3.1 Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant