aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/cljfmt.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/cljfmt.lua b/lua/conform/formatters/cljfmt.lua
new file mode 100644
index 0000000..ae52b74
--- /dev/null
+++ b/lua/conform/formatters/cljfmt.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/weavejester/cljfmt",
+ description = "cljfmt is a tool for detecting and fixing formatting errors in Clojure code.",
+ },
+ command = "cljfmt",
+ args = { "fix", "-" },
+ stdin = true,
+}