feat(nvim): enable hadolint in dockerfile
fts
This commit is contained in:
parent
17830b7c0d
commit
657e8e2cbf
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user