Skip to content

Conversation

@nzoschke
Copy link

Add support for cuelang.

@nzoschke
Copy link
Author

I'm still working on a more official cue plugin but tested this works with the exec plugin

{
  "typescript": {},
  "json": {},
  "markdown": {},
  "toml": {},
  "malva": {},
  "markup": {},
  "yaml": {},
  "excludes": ["**/node_modules", "**/*-lock.json"],
  "exec": {
    "commands": [
      {
        "command": "cue fmt -",
        "exts": ["cue"]
      }
    ]
  },
  "plugins": [
    "https://plugins.dprint.dev/typescript-0.95.11.wasm",
    "https://plugins.dprint.dev/json-0.21.0.wasm",
     "https://plugins.dprint.dev/json-0.20.0.wasm",
    "https://plugins.dprint.dev/toml-0.7.0.wasm",
    "https://plugins.dprint.dev/g-plane/malva-v0.14.3.wasm",
    "https://plugins.dprint.dev/g-plane/markup_fmt-v0.24.0.wasm",
    "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
    "https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0"
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant