A Thrift language server, formatter, and linter.
lsp linter helix vim vscode thrift

refactor(format)!: remove globals and implement proper DI master

BREAKING CHANGE: All format functions now require Options parameter. Removes the 4 global variables from format/options.go: - var Indent - var Align - var FieldLineComma - var TrailingNewline All format functions now accept Options as first parameter: - FormatDocument, FormatDocumentWithValidation, etc. - All MustFormat* functions Implements proper dependency injection chain: main() -> NewStreamServer(opts) -> Server.formatOpts -> formatting() Cleans up redundant indent parameters - top-level formatters (Struct, Union, Exception, Enum, Service) now use opts.GetIndent() internally instead of accepting indent parameter. Benefits: - Thread-safe concurrent formatting - Testable with different configs - Easy to add new options without signature changes - No hidden dependencies


Author karitham Date Commit 568b7717 Parent 1e53660b Change ID urqnsokn