feat(nvim): enable hadolint in dockerfile fts

This commit is contained in:
Price Hiller 2023-12-19 01:37:14 -06:00
parent 17830b7c0d
commit 657e8e2cbf
No known key found for this signature in database

View File

@ -5,6 +5,7 @@ return {
config = function() config = function()
require("lint").linters_by_ft = { require("lint").linters_by_ft = {
markdown = { "proselint" }, markdown = { "proselint" },
dockerfile = { "hadolint" }
} }
vim.api.nvim_create_autocmd({ "BufWritePost", "BufEnter" }, { vim.api.nvim_create_autocmd({ "BufWritePost", "BufEnter" }, {
callback = function() callback = function()