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 editor: restart language server or reload Zed for it to pickup changes.