aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/hindent.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/hindent.lua')
-rw-r--r--lua/conform/formatters/hindent.lua10
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,
+}