ZIm/docs/src/languages/toml.md
Peter Tripp 6db974dd32
docs: TOML LSP (Taplo) requires a manual restart to apply changes (#29504)
Add note about manual restart
Remove taplo LSP settings example (broken)

Release Notes:

- N/A
2025-04-27 11:53:55 -04:00

1 KiB

TOML

TOML support is available through the TOML extension.

Configuration

You can control the behavior of the Taplo TOML language server by adding a .taplo.toml file to the root of your project. See the Taplo Configuration File and Taplo Formatter Options documentation for more.

# .taplo.toml
[formatting]
align_comments = false
reorder_keys = true

include = ["Cargo.toml", "some_directory/**/*.toml"]
# exclude = ["vendor/**/*.toml"]

Note: The taplo language server will not automatically pickup changes to .taplo.toml. You must manually trigger {#action editor::RestartLanguageServer} or reload Zed for it to pickup changes.