feat(extras): added extra for nvim-lint

This commit is contained in:
Folke Lemaitre 2023-09-29 15:05:01 +02:00
parent 9762e7e431
commit 05f45bb720
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 93 additions and 0 deletions

View file

@ -18,6 +18,15 @@ return {
})
end,
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
cmake = { "cmakelint" },
},
},
},
{
"mason.nvim",
opts = function(_, opts)

View file

@ -25,6 +25,15 @@ return {
end,
},
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
dockerfile = { "hadolint" },
},
},
},
{
"neovim/nvim-lspconfig",
opts = {

View file

@ -37,6 +37,16 @@ return {
end
end,
},
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
terraform = { "terraform_validate" },
tf = { "terraform_validate" },
},
},
},
{
"stevearc/conform.nvim",
optional = true,