mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 09:48:51 +02:00
update
This commit is contained in:
parent
c20896f0a4
commit
cc5c9ed8d0
3 changed files with 21 additions and 3 deletions
|
@ -9,6 +9,14 @@ local lspconfig = require("lspconfig")
|
|||
-- local servers = { "jdtls", "yamlls" }
|
||||
local servers = {}
|
||||
|
||||
local data_exists, custom_lsp = pcall(require, "custom.lsp_installer")
|
||||
if data_exists then
|
||||
for _, client in pairs(custom_lsp.lspinstall) do
|
||||
table.insert(servers, client)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
lsp_installer.setup({
|
||||
ensure_installed = servers,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue