Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: TOML LSP (Taplo) requires a manual restart to apply changes (#29504)

Peter Tripp6db974dd324e
diff --git a/docs/src/languages/toml.md b/docs/src/languages/toml.md
index fd0cf62c298..eb51dbb93bf 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
-```
-Alternatively, you can pass taplo configuration options via [Zed LSP Settings](../configuring-zed.md#lsp)
-
-```json
- "lsp": {
- "taplo": {
- "settings": {
- "array_auto_collapse": false
- }
- }
- }
+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.