diff --git a/lua/conform/formatters/djlint.lua b/lua/conform/formatters/djlint.lua index 13c966d2..03922bdd 100644 --- a/lua/conform/formatters/djlint.lua +++ b/lua/conform/formatters/djlint.lua @@ -6,9 +6,10 @@ return { description = "✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang.", }, command = "djlint", - args = function(_, ctx) - return { "--reformat", "--indent", ctx.shiftwidth, "-" } - end, + args = { + "--reformat", + "-", + }, cwd = util.root_file({ ".djlintrc", }),