diff --git a/docs/src/languages/toml.md b/docs/src/languages/toml.md index fd0cf62c29..eb51dbb93b 100644 --- a/docs/src/languages/toml.md +++ b/docs/src/languages/toml.md @@ -11,22 +11,12 @@ You can control the behavior of the Taplo TOML language server by adding a `.tap ```toml # .taplo.toml -include = ["Cargo.toml", "some_directory/**/*.toml"] -# exclude = ["Cargo.toml"] - [formatting] -align_entries = true +align_comments = false reorder_keys = true + +include = ["Cargo.toml", "some_directory/**/*.toml"] +# exclude = ["vendor/**/*.toml"] ``` -Alternatively, you can pass taplo configuration options via [Zed LSP Settings](../configuring-zed.md#lsp) - -```json - "lsp": { - "taplo": { - "settings": { - "array_auto_collapse": false - } - } - } -``` +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.