Repository navigation
v2.3.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 #1031
New Contributors
- @TungstnBallon made their first contribution in #1031
Full Changelog: v2.2.0...v2.3.0