Skip to content

Commit

Permalink
docs: Add example of TOML/taplo LSP settings (#18293)
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter authored Sep 24, 2024
1 parent d336005 commit 9a86012
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/src/languages/toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
```

0 comments on commit 9a86012

Please sign in to comment.