diff options
author | Mads Hougesen <madshougesen@gmail.com> | 2024-03-18 18:46:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 10:46:03 -0700 |
commit | 293236aa7445fb24aba56d8e9a03be54d0c1c2e8 (patch) | |
tree | 768bfc615a810c61dae2d9029fb2974806ea3dc3 /lua | |
parent | 46cb8285275a2657de70c07f4ae3f8e6ffc6a075 (diff) |
feat: add support for roc format (#342)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/roc.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/roc.lua b/lua/conform/formatters/roc.lua new file mode 100644 index 0000000..49fe619 --- /dev/null +++ b/lua/conform/formatters/roc.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/roc-lang/roc", + description = "A fast, friendly, functional language.", + }, + command = "roc", + args = { "format", "--stdin", "--stdout" }, + stdin = true, +} |