Skip to content

Releases: dprint/dprint-plugin-toml

0.6.4

04 Jan 20:59
Compare
Choose a tag to compare

Changes

  • fix: handle doc-like comments when forcing a leading space (#25)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.6.4.wasm"
      ]
    }

JS Formatting API

0.6.3

30 Sep 12:48
Compare
Choose a tag to compare

Changes

  • fix: improve formatting array with only comments (#21)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.6.3.wasm"
      ]
    }

JS Formatting API

0.6.2

27 May 03:31
Compare
Choose a tag to compare

Changes

  • fix: strip utf-8 bom (#17)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.6.2.wasm"
      ]
    }

JS Formatting API

0.6.1

23 Feb 20:31
Compare
Choose a tag to compare

Changes

  • perf: reduce memory usage (#13)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.6.1.wasm"
      ]
    }

JS Formatting API

0.6.0

25 Jan 16:28
Compare
Choose a tag to compare

Changes

  • feat(npm): update npm distribution to have getPath export instead
  • feat: sort workspace dependencies in Cargo.toml (#11)
  • fix: handle multi-line strings (#12)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.6.0.wasm"
      ]
    }

JS Formatting API

0.5.4

01 Feb 16:31
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/toml-0.5.4.wasm"
      ]
    }

JS Formatting API

0.5.3

01 Nov 21:12
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .toml file extensions are matched in an "includes" pattern.
  3. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "includes": [
        "**/*.{toml}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/toml-0.5.3.wasm"
      ]
    }

JS Formatting API

0.5.2

29 Sep 14:44
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .toml file extensions are matched in an "includes" pattern.
  3. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "includes": [
        "**/*.{toml}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/toml-0.5.2.wasm"
      ]
    }

JS Formatting API

0.5.1

01 Sep 15:08
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .toml file extensions are matched in an "includes" pattern.
  3. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "includes": [
        "**/*.{toml}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/toml-0.5.1.wasm"
      ]
    }

JS Formatting API

0.5.0

29 Aug 19:25
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .toml file extensions are matched in an "includes" pattern.
  3. Add a "toml" configuration property if desired.
    {
      // ...etc...
      "toml": {
        // toml config goes here
      },
      "includes": [
        "**/*.{toml}"
      ],
      "plugins": [
        "https://plugins.dprint.dev/toml-0.5.0.wasm"
      ]
    }

JS Formatting API