feat: add djlint to html files

This commit is contained in:
Devin Haska 2024-04-01 10:58:15 -07:00
parent f7100e7871
commit 752e013e66

View file

@ -8,6 +8,7 @@ return {
local lint = require("lint") local lint = require("lint")
lint.linters_by_ft = { lint.linters_by_ft = {
html = { "djlint" },
javascript = { "eslint_d" }, javascript = { "eslint_d" },
typescript = { "eslint_d" }, typescript = { "eslint_d" },
javascriptreact = { "eslint_d" }, javascriptreact = { "eslint_d" },
@ -20,7 +21,7 @@ return {
group = lint_augroup, group = lint_augroup,
callback = function() callback = function()
lint.try_lint() lint.try_lint()
end end,
}) })
end end,
} }