From 293236aa7445fb24aba56d8e9a03be54d0c1c2e8 Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Mon, 18 Mar 2024 18:46:03 +0100 Subject: feat: add support for roc format (#342) --- lua/conform/formatters/roc.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/roc.lua (limited to 'lua/conform/formatters/roc.lua') 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, +} -- cgit v1.2.3-70-g09d2