mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-08-08 11:54:38 +02:00
add: config global variable
This commit is contained in:
parent
77436b89c4
commit
a7726a6b33
30 changed files with 703 additions and 857 deletions
|
@ -9,11 +9,8 @@ local lspconfig = require("lspconfig")
|
|||
-- local servers = { "jdtls", "yamlls" }
|
||||
local servers = {}
|
||||
|
||||
local data_exists, custom_lsp = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
for _, client in pairs(custom_lsp.lsp_installer) do
|
||||
table.insert(servers, client)
|
||||
end
|
||||
for _, client in pairs(vim.g.pcode_lsp_installer) do
|
||||
table.insert(servers, client)
|
||||
end
|
||||
|
||||
lsp_installer.setup({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue