dotfiles/.config/nvim/lua/plugins/extras/linting/shellcheck.lua
Sergio Laín 95dd6cd8da
feat(nvim): new extras
shellcheck, nix and extended go
2023-11-17 00:13:00 +01:00

17 lines
425 B
Lua

return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "shellcheck" })
end,
},
{
"mfussenegger/nvim-lint",
opts = function(_, opts)
opts.linters_by_ft.bash = opts.linters_by_ft.bash or {}
table.insert(opts.linters_by_ft.bash, "shellcheck")
return opts
end,
},
}