diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/cue_fmt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/cue_fmt.lua b/lua/conform/formatters/cue_fmt.lua new file mode 100644 index 0000000..e9787d6 --- /dev/null +++ b/lua/conform/formatters/cue_fmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://cuelang.org", + description = "Format CUE files using `cue fmt` command.", + }, + command = "cue", + args = { "fmt", "-" }, + stdin = true, +} |