diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-01 20:57:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 11:57:38 -0700 |
commit | dc612fbf6194fcb3ef401871db1cae74134e9423 (patch) | |
tree | 7b553f0487950beeeaa1246dbceb6e5f2d271e15 /lua/conform/formatters/stylish-haskell.lua | |
parent | f3b930db4964d60e255c8f9e37b7f2218dfc08cb (diff) |
feat(haskell): support stylish-haskell (#435)
* feat: add support for stylish-haskell
* refactor: use stdin instead of file
Diffstat (limited to 'lua/conform/formatters/stylish-haskell.lua')
-rw-r--r-- | lua/conform/formatters/stylish-haskell.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/stylish-haskell.lua b/lua/conform/formatters/stylish-haskell.lua new file mode 100644 index 0000000..be4f2e3 --- /dev/null +++ b/lua/conform/formatters/stylish-haskell.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/haskell/stylish-haskell", + description = "Haskell code prettifier.", + }, + command = "stylish-haskell", + args = {}, + stdin = true, +} |