Download Latest Version stylua-linux-x86_64-musl.zip (3.4 MB)
Email in envelope

Get an email when there's a new version of StyLua

Home / v2.3.0
Name Modified Size InfoDownloads / Week
Parent folder
stylua-windows-x86_64.zip 2025-09-27 2.9 MB
stylua-macos-aarch64.zip 2025-09-27 3.1 MB
stylua-macos-x86_64.zip 2025-09-27 3.2 MB
stylua-linux-aarch64-musl.zip 2025-09-27 3.3 MB
stylua-linux-aarch64.zip 2025-09-27 3.3 MB
stylua-linux-x86_64.zip 2025-09-27 3.3 MB
stylua-linux-x86_64-musl.zip 2025-09-27 3.4 MB
README.md 2025-09-27 2.0 kB
v2.3.0 source code.tar.gz 2025-09-27 451.9 kB
v2.3.0 source code.zip 2025-09-27 736.2 kB
Totals: 10 Items   23.6 MB 0

[2.3.0] - 2025-09-27

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)

External Contributions

New Contributors

Full Changelog: https://github.com/JohnnyMorganz/StyLua/compare/v2.2.0...v2.3.0

Source: README.md, updated 2025-09-27