Skip to content

Commit

Permalink
feat: add fourmolu support (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorigamiK committed Nov 20, 2023
1 parent a36c68d commit e688864
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/fourmolu.lua
Original file line number Diff line number Diff line change
@@ -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,
}

0 comments on commit e688864

Please sign in to comment.