aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMads Hougesen <madshougesen@gmail.com>2024-03-18 18:46:03 +0100
committerGitHub <noreply@github.com>2024-03-18 10:46:03 -0700
commit293236aa7445fb24aba56d8e9a03be54d0c1c2e8 (patch)
tree768bfc615a810c61dae2d9029fb2974806ea3dc3 /lua
parent46cb8285275a2657de70c07f4ae3f8e6ffc6a075 (diff)
feat: add support for roc format (#342)
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/roc.lua10
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,
+}