added more server configurations in lspconfig
This commit is contained in:
parent
2ab78b05c3
commit
ee208f7e8d
|
|
@ -130,14 +130,18 @@ lspconfig.sumneko_lua.setup {
|
||||||
-- }
|
-- }
|
||||||
-- }
|
-- }
|
||||||
|
|
||||||
-- local servers = {
|
local servers = {
|
||||||
-- }
|
"marksman",
|
||||||
--
|
"taplo",
|
||||||
-- for _, lsp in ipairs(servers) do
|
"pylsp",
|
||||||
-- lspconfig[lsp].setup {
|
"clangd",
|
||||||
-- on_attach = M.on_attach,
|
}
|
||||||
-- capabilities = M.capabilities,
|
|
||||||
-- }
|
for _, lsp in ipairs(servers) do
|
||||||
-- end
|
lspconfig[lsp].setup {
|
||||||
|
on_attach = M.on_attach,
|
||||||
|
capabilities = M.capabilities,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ if not present then
|
||||||
end
|
end
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
ensure_installed = { "lua-language-server" }, -- not an option from mason.nvim
|
ensure_installed = { "lua-language-server", "rust_analyzer" }, -- not an option from mason.nvim
|
||||||
|
|
||||||
PATH = "skip",
|
PATH = "skip",
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue