diff --git a/lua/conform/formatters/jsonnetfmt.lua b/lua/conform/formatters/jsonnetfmt.lua new file mode 100644 index 00000000..edddbb9c --- /dev/null +++ b/lua/conform/formatters/jsonnetfmt.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/google/go-jsonnet/tree/master/cmd/jsonnetfmt", + description = "jsonnetfmt is a command line tool to format jsonnet files.", + }, + command = "jsonnetfmt", + args = { "-" }, + stdin = true, +}