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: Add example of TOML/taplo LSP settings (#18293)

Peter Tripp9a8601227d99
diff --git a/docs/src/languages/toml.md b/docs/src/languages/toml.md
index a4aa8436ff0..3f33925a281 100644
--- a/docs/src/languages/toml.md
+++ b/docs/src/languages/toml.md
@@ -18,3 +18,15 @@ include = ["Cargo.toml", "some_directory/**/*.toml"]
align_entries = true
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
+ }
+ }
+ }
+```