aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/djlint.lua12
1 files changed, 12 insertions, 0 deletions
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",
+ "-",
+ },
+}