diff options
Diffstat (limited to 'lua/conform/formatters/ormolu.lua')
-rw-r--r-- | lua/conform/formatters/ormolu.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/ormolu.lua b/lua/conform/formatters/ormolu.lua new file mode 100644 index 0000000..4c36929 --- /dev/null +++ b/lua/conform/formatters/ormolu.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://hackage.haskell.org/package/ormolu", + description = "A formatter for Haskell source code.", + }, + command = "ormolu", + args = { "--stdin-input-file", "$FILENAME" }, + stdin = true, +} |