| Name | Modified | Size | Downloads / 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 configurationsindent-widthandindent-typewith 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
serverInfoin the language server'sInitializeResponse
Fixed
- Fixed comments lost from expression after parentheses are removed when we are attempting to "hang" the expression. (#1033)
- Fixed
document_range_formatting_providercapability missing fromServerCapabilitiesin 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
.styluaignorefiles (#1035) - Luau: Fixed parentheses incorrectly removed on a single type that is the default for a variadic generic parameter (#1038)
External Contributions
- Smaller text edits in lsp formatting handler by @TungstnBallon in https://github.com/JohnnyMorganz/StyLua/pull/1031
New Contributors
- @TungstnBallon made their first contribution in https://github.com/JohnnyMorganz/StyLua/pull/1031
Full Changelog: https://github.com/JohnnyMorganz/StyLua/compare/v2.2.0...v2.3.0