adjust plugin load order based in mason-lspconfig recommendations

This commit is contained in:
2025-10-14 14:40:40 +05:00
parent a598dcd1fc
commit 3fed361813
2 changed files with 30 additions and 10 deletions

View File

@ -4,6 +4,8 @@ vim.lsp.enable({
"omnisharp",
"pylsp",
"rust_analyzer",
"luals",
"vimls"
})
-- TODO: this does not work, need to install pylsp-mypy plugin manually
@ -45,4 +47,20 @@ vim.lsp.config('rust_analyzer', {
}
})
vim.lsp.config('luals', {
settings = {
Lua = {}
}
})
vim.lsp.config('rust_analyzer', {
settings = {
["rust-analyzer"] = {
cargo = {
features = "all",
},
},
}
})
mason_lspconfig.setup()