Skip to content

Commit 9a86012

Browse files
authored
docs: Add example of TOML/taplo LSP settings (#18293)
1 parent d336005 commit 9a86012

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/src/languages/toml.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,15 @@ include = ["Cargo.toml", "some_directory/**/*.toml"]
1818
align_entries = true
1919
reorder_keys = true
2020
```
21+
22+
Alternatively, you can pass taplo configuration options via [Zed LSP Settings](../configuring-zed.md#lsp)
23+
24+
```json
25+
"lsp": {
26+
"taplo": {
27+
"settings": {
28+
"array_auto_collapse": false
29+
}
30+
}
31+
}
32+
```

0 commit comments

Comments
 (0)