// plugins

cmakefmt (azais-corentin) Plugin

Adapter plugin that formats CMake files via azais-corentin/cmakefmt.

Formats CMakeLists.txt and .cmake files.

This is a separate plugin from cmakefmt/cmakefmt. It is configured under the "cmake" key.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add azais-corentin/cmakefmt

This will update your config file to have an entry for the plugin. Then optionally specify a "cmake" property to add configuration:

{
  "cmake": {
    // cmake config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/azais-corentin/cmakefmt-vx.x.x.wasm"
  ]
}

Configuration

See the plugin documentation.