diff options
author | Christian Johansen <80620482+chrhjoh@users.noreply.github.com> | 2024-05-11 05:57:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 21:57:29 -0600 |
commit | dc950e5717f1da65b1fcd986b1bbff0d6bd0e2ee (patch) | |
tree | f12084d49bc013971b03fda86579eed5d4a0d314 /lua/conform | |
parent | a3e3e0e2966a9fa477bbc86487e920ee0c34f133 (diff) |
feat: add snakefmt formatter for snakemake files (#399)
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/snakefmt.lua | 10 |
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, +} |