From e688864883aa4f468cc73a4c1db661c7c94addc4 Mon Sep 17 00:00:00 2001 From: KorigamiK <72932688+KorigamiK@users.noreply.github.com> Date: Mon, 20 Nov 2023 08:14:58 +0000 Subject: feat: add fourmolu support (#209) --- lua/conform/formatters/fourmolu.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/fourmolu.lua (limited to 'lua/conform/formatters') diff --git a/lua/conform/formatters/fourmolu.lua b/lua/conform/formatters/fourmolu.lua new file mode 100644 index 0000000..9c64999 --- /dev/null +++ b/lua/conform/formatters/fourmolu.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://hackage.haskell.org/package/fourmolu", + description = "Fourmolu is a formatter for Haskell source code.", + }, + command = "fourmolu", + args = { "--stdin-input-file", "$FILENAME" }, + stdin = true, +} -- cgit v1.2.3-70-g09d2