diff options
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r-- | lua/conform/formatters/pyink.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/conform/formatters/pyink.lua b/lua/conform/formatters/pyink.lua new file mode 100644 index 0000000..cce1059 --- /dev/null +++ b/lua/conform/formatters/pyink.lua @@ -0,0 +1,15 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/google/pyink", + description = "A Python formatter, forked from Black with a few different formatting behaviors.", + }, + command = "pyink", + args = { + "--stdin-filename", + "$FILENAME", + "--quiet", + "-", + }, + stdin = true, +} |