This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nvim_config/lua/plugins/mason.lua
2023-03-14 12:38:15 +01:00

25 lines
656 B
Lua

local mason = require("mason").setup{
ensure_installed= {
'shellcheck',
'shfmt'
}
}
local mason_lspconfig = require("mason-lspconfig").setup{
ensure_installed={
'ansiblels',
'bashls'
}
}
require("mason-lspconfig").setup_handlers({
-- The first entry (without a key) will be the default handler
-- and will be called for each installed server that doesn't have
-- a dedicated handler.
function (server_name) -- default handler (optional)
require("lspconfig")[server_name].setup {}
end,
-- Next, you can provide targeted overrides for specific servers.
--
})