blob: 82c3cec006c0297b76ae046989c5b4026f25a9d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
return {
"neovim/nvim-lspconfig",
dependencies = {
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
},
config = function()
require("mason").setup()
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls",
"clangd",
"jedi_language_server",
"tsserver",
"rust_analyzer",
},
handlers = {
function(server_name)
require("lspconfig")[server_name].setup({})
end
}
})
end
}
|