diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-01 21:01:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 12:01:08 -0700 |
commit | 9f46982b8dc2bf1e267d386ccd096f896369e323 (patch) | |
tree | b80d17e34404f9e4292a9a13ada09fbe02e1032a /lua/conform/formatters/hindent.lua | |
parent | 11ee87a23187817cad233fe0d61d461105e3eda9 (diff) |
feat: add support for hindent (#430)
Adds support for Haskell formatter hindent
Diffstat (limited to 'lua/conform/formatters/hindent.lua')
-rw-r--r-- | lua/conform/formatters/hindent.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/hindent.lua b/lua/conform/formatters/hindent.lua new file mode 100644 index 0000000..bf2656a --- /dev/null +++ b/lua/conform/formatters/hindent.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/mihaimaruseac/hindent", + description = "Haskell pretty printer.", + }, + command = "hindent", + args = { "$FILENAME" }, + stdin = false, +} |