aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/snakefmt.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/snakefmt.lua b/lua/conform/formatters/snakefmt.lua
new file mode 100644
index 0000000..fccdeaa
--- /dev/null
+++ b/lua/conform/formatters/snakefmt.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/snakemake/snakefmt",
+ description = "a formatting tool for Snakemake files following the design of Black.",
+ },
+ command = "snakefmt",
+ args = "$FILENAME",
+ stdin = false,
+}