diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-01 21:03:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 12:03:02 -0700 |
commit | 03a07d58be09a681ab162f3a069dc9e86589bacb (patch) | |
tree | 24217831945f27f6354f2fa652669d0fe8460b7a /lua/conform | |
parent | 9f46982b8dc2bf1e267d386ccd096f896369e323 (diff) |
feat: add support for kcl fmt (#431)
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/kcl.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/kcl.lua b/lua/conform/formatters/kcl.lua new file mode 100644 index 0000000..adaa547 --- /dev/null +++ b/lua/conform/formatters/kcl.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://www.kcl-lang.io/docs/tools/cli/kcl/fmt", + description = "The KCL Format tool modifies the files according to the KCL code style.", + }, + command = "kcl", + args = { "fmt", "$FILENAME" }, + stdin = false, +} |