dotfiles/.config/nvim/lua/plugins/extras/lang/bash.lua
Sergio Laín f9d52ab208
♻️ refactor(nvim): big change in adding formatters and linters
all the formatters and linters are dynamically added, and they are going to the extras modules
2023-11-16 15:00:10 +01:00

25 lines
542 B
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "bash", "fish" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
bashls = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "bash-language-server" })
end,
},
}