new config
This commit is contained in:
parent
ee2563cac6
commit
e3d3ab6680
36 changed files with 262 additions and 611 deletions
25
lua/plugins/mason.lua
Normal file
25
lua/plugins/mason.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
|
||||
dependencies = {"williamboman/mason-lspconfig.nvim"},
|
||||
|
||||
keys = {
|
||||
{ "<leader>m", ":Mason <CR>", desc = "open mason" },
|
||||
},
|
||||
config = true;
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
opts = {
|
||||
-- Replace the language servers listed here
|
||||
-- with the ones you want to install
|
||||
ensure_installed = {'lua_ls', 'pyright'},
|
||||
handlers = {
|
||||
function(server_name)
|
||||
require('lspconfig')[server_name].setup({})
|
||||
end,
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue