first commit
This commit is contained in:
commit
02f0def35e
16 changed files with 422 additions and 0 deletions
25
lua/plugins/mason.lua
Normal file
25
lua/plugins/mason.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
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.
|
||||
--
|
||||
})
|
Reference in a new issue