diff options
author | Hoang Nguyen <folliekazetani@protonmail.com> | 2024-01-05 17:57:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 09:57:59 -0800 |
commit | 03de11a0dcf686fda58d64a895483e284dd0c5b6 (patch) | |
tree | f6e5999c75a38d44b9489d0e592e96c4403a6417 /lua | |
parent | 08024063232a7bd38ecdfaf89f06162a5ba2df91 (diff) |
feat: add cue_fmt formatter (#265)
Diffstat (limited to 'lua')
-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, +} |