mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-05 12:00:21 +00:00
remove defer_fn as it may throw error messages...
This commit is contained in:
parent
e64c56789f
commit
d62b03c394
@ -280,10 +280,8 @@ local function load_cfg(ft, client, cfg, loaded)
|
||||
end
|
||||
|
||||
lspconfig[client].setup(cfg)
|
||||
-- I dont know why but 1st time setup may fail..
|
||||
vim.defer_fn(function()
|
||||
-- dont know why but 1st lsp client setup may fail.. could be a upstream defect
|
||||
lspconfig[client].setup(cfg)
|
||||
end, 20)
|
||||
log(client, "loading for", ft)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user