diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/erlfmt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/erlfmt.lua b/lua/conform/formatters/erlfmt.lua new file mode 100644 index 0000000..ddcd1e2 --- /dev/null +++ b/lua/conform/formatters/erlfmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/WhatsApp/erlfmt", + description = "An automated code formatter for Erlang.", + }, + command = "erlfmt", + args = { "-w", "$FILENAME" }, + stdin = false, +} |