aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
authorMads Hougesen <mads@mhouge.dk>2024-03-19 17:01:09 +0100
committerGitHub <noreply@github.com>2024-03-19 09:01:09 -0700
commitbf109f061fc3cd75394b7823923187ae045cbf22 (patch)
tree254dac51c2b4766db47e6aef8ed7ad97a4ae2326 /lua/conform
parent41586cbc81b8d344a795264989a3db79d0a27615 (diff)
feat: add support for purs-tidy (#345)
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/purs-tidy.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/purs-tidy.lua b/lua/conform/formatters/purs-tidy.lua
new file mode 100644
index 0000000..a89ed07
--- /dev/null
+++ b/lua/conform/formatters/purs-tidy.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/natefaubion/purescript-tidy",
+ description = "A syntax tidy-upper for PureScript.",
+ },
+ command = "purs-tidy",
+ args = { "format" },
+ stdin = true,
+}