From ead025784c8e31b8e45016e620c2f17a13ff741a Mon Sep 17 00:00:00 2001 From: zootedb0t <05kraken@proton.me> Date: Thu, 14 Sep 2023 23:34:45 +0530 Subject: feat: add djlint (#47) --- lua/conform/formatters/djlint.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/conform/formatters/djlint.lua (limited to 'lua') diff --git a/lua/conform/formatters/djlint.lua b/lua/conform/formatters/djlint.lua new file mode 100644 index 0000000..9cd2b5b --- /dev/null +++ b/lua/conform/formatters/djlint.lua @@ -0,0 +1,12 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/Riverside-Healthcare/djLint", + description = "✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang.", + }, + command = "djlint", + args = { + "--reformat", + "-", + }, +} -- cgit v1.2.3-70-g09d2