32 lines · 1.0 KB · Markdown
RawDownload

TOML

TOML support is available through the TOML extension.

Configuration

You can control the behavior of the Taplo TOML language server by adding a .taplo.toml file to the root of your project. See the Taplo Configuration File and Taplo Formatter Options documentation for more.

# .taplo.toml
include = ["Cargo.toml", "some_directory/**/*.toml"]
# exclude = ["Cargo.toml"]

[formatting]
align_entries = true
reorder_keys = true

Alternatively, you can pass taplo configuration options via Zed LSP Settings

  "lsp": {
    "taplo": {
      "settings": {
        "array_auto_collapse": false
      }
    }
  }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t