diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-01 21:07:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 12:07:00 -0700 |
commit | a1d3c0aff306b974bc07b4cdf52f1766dd89fc90 (patch) | |
tree | 440c01f592b3207883790053e118aba880fcc93b /lua/conform | |
parent | 7999faf7bbec7461f62dabd57cccb784c8d804b5 (diff) |
feat: add support for efmt (#428)
Adds support for Erlang formatter efmt
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/efmt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/efmt.lua b/lua/conform/formatters/efmt.lua new file mode 100644 index 0000000..59ebd38 --- /dev/null +++ b/lua/conform/formatters/efmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/sile/efmt", + description = "Erlang code formatter.", + }, + command = "efmt", + args = { "-" }, + stdin = true, +} |