docs: Add example of TOML/taplo LSP settings (#18293)

This commit is contained in:
Peter Tripp 2024-09-24 22:23:32 +00:00 committed by GitHub
parent d33600525e
commit 9a8601227d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}
}
}
```