tomlsmith-lsp implements the Language Server Protocol over stdio. Editors with a generic LSP client can use its diagnostics, formatting, highlighting, hover, symbols, and folding.
The implemented editor surface does not include Schema-backed completion or code actions.
The server defaults to TOML 1.0 when the client supplies no tomlVersion.
Clients can select 1.1 in initialization options or configuration updates; see
the TOML version policy.
TomlSmith for VS Code launches tomlsmith-lsp and includes a TextMate grammar for highlighting when the server is not running. Its README documents platform-specific VSIX packaging and installation.
Install the latest stable server with cargo install tomlsmith-lsp --locked, then configure your editor's LSP client to launch the tomlsmith-lsp binary over stdio. This applies to Neovim, Helix, Emacs, and other editors with generic LSP support.
The playground provides live diagnostics, a format preview that changes the source only when applied, and a token inspector.