mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 17:58:46 +02:00
fix lsp register ^& code runner config
This commit is contained in:
parent
38d2c29a95
commit
418a659142
4 changed files with 29 additions and 12 deletions
|
@ -27,9 +27,11 @@ end
|
|||
local data_ok, unregis = pcall(require, "core.config")
|
||||
if data_ok then
|
||||
if unregis.unregister_lsp ~= nil then
|
||||
for _, unreg in pairs(custom_lsp.unregister_lsp) do
|
||||
for _, unreg in pairs(unregis.unregister_lsp) do
|
||||
local my_index = idxOf(servers, unreg)
|
||||
table.remove(servers, my_index)
|
||||
if my_index ~= nil then
|
||||
table.remove(servers, my_index)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue