adjust plugin load order based in mason-lspconfig recommendations
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user