new config

This commit is contained in:
Dario48true 2025-02-03 10:21:51 +01:00
parent ee2563cac6
commit e3d3ab6680
36 changed files with 262 additions and 611 deletions

25
lua/plugins/mason.lua Normal file
View 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,
},
}
},
}