feat(nvim): add htmlhint linter

This commit is contained in:
Sergio Laín 2024-02-22 11:56:38 +01:00
parent 34d7f90b3c
commit 78cbef0927
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -48,9 +48,18 @@ return {
"html-lsp", "html-lsp",
"cssmodules-language-server", "cssmodules-language-server",
"css-lsp", "css-lsp",
"htmlhint",
}) })
end, end,
}, },
{
"mfussenegger/nvim-lint",
opts = function(_, opts)
opts.linters_by_ft.html = opts.linters_by_ft.html or {}
table.insert(opts.linters_by_ft.html, "htmlhint")
return opts
end,
},
{ {
"luckasRanarison/nvim-devdocs", "luckasRanarison/nvim-devdocs",
optional = true, optional = true,