TOML

TOML support is built into the editor.

There's LSP support for Tombi and Taplo. Tombi is the default.

To only enable tombi:

  "languages": {
    "TOML": {
      "language_servers": ["!taplo", "tombi", "..."]
    },
  }

To only enable taplo:

  "languages": {
    "TOML": {
      "language_servers": ["taplo", "!tombi", "..."]
    },
  }

Tombi additionally supports being used as a formatter (enabled by default). If you wish to use prettier with taplo instead, change the formatter setting from language_server to prettier:

  "languages": {
    "TOML": {
      "language_servers": ["taplo", "!tombi", "..."]
      "formatter": "prettier",
      "format_on_save": "off",
    },
  }