diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/gci.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/gci.lua b/lua/conform/formatters/gci.lua new file mode 100644 index 0000000..88293d7 --- /dev/null +++ b/lua/conform/formatters/gci.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/daixiang0/gci", + description = "GCI, a tool that controls Go package import order and makes it always deterministic.", + }, + command = "gci", + args = { "write", "--skip-generated", "--skip-vendor", "$FILENAME" }, + stdin = false, +} |