feat: add djlint to html files
This commit is contained in:
parent
f7100e7871
commit
752e013e66
1 changed files with 22 additions and 21 deletions
|
@ -8,6 +8,7 @@ return {
|
|||
local lint = require("lint")
|
||||
|
||||
lint.linters_by_ft = {
|
||||
html = { "djlint" },
|
||||
javascript = { "eslint_d" },
|
||||
typescript = { "eslint_d" },
|
||||
javascriptreact = { "eslint_d" },
|
||||
|
@ -20,7 +21,7 @@ return {
|
|||
group = lint_augroup,
|
||||
callback = function()
|
||||
lint.try_lint()
|
||||
end
|
||||
end,
|
||||
})
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue