diff options
Diffstat (limited to 'lua/conform')
-rw-r--r-- | lua/conform/formatters/packer_fmt.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/packer_fmt.lua b/lua/conform/formatters/packer_fmt.lua new file mode 100644 index 0000000..572b5f4 --- /dev/null +++ b/lua/conform/formatters/packer_fmt.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://developer.hashicorp.com/packer/docs/commands/fmt", + description = "The packer fmt Packer command is used to format HCL2 configuration files to a canonical format and style.", + }, + command = "packer", + args = { "fmt", "-" }, +} |