From e4f38da250ad5ae6a7d53fe854c19d0146b95166 Mon Sep 17 00:00:00 2001 From: Hussein Al Abry Date: Thu, 8 Aug 2024 19:45:59 +0400 Subject: [PATCH] Remove command line arguments for djlint Command line arguments for djlint override those in the configuration file. --- lua/conform/formatters/djlint.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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", }),