dotfiles/home/private_dot_config/nvim/lua/plugins/language/shell.lua
2023-12-17 23:26:30 -06:00

12 lines
323 B
Lua

return {
require("util").setup_lang({ treesitter = { "bash" }, mason = { "shellcheck" } }),
{
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, {
nls.builtins.diagnostics.shellcheck,
})
end,
},
}