Skip to content

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 11:02

[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

  • 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