mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 18:37:34 +00:00
Fix loading of lsp files on first load before install
This commit is contained in:
parent
718dcc79e6
commit
d004dbee79
@ -137,7 +137,7 @@ local function merged_capabilities()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.config_lsp()
|
function M.config_lsp()
|
||||||
local lsp_config = require("lspconfig")
|
utils.try_require("lspconfig", function(lsp_config)
|
||||||
local capabilities = merged_capabilities()
|
local capabilities = merged_capabilities()
|
||||||
|
|
||||||
-- Configure each server
|
-- Configure each server
|
||||||
@ -155,6 +155,7 @@ function M.config_lsp()
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.config_lsp_saga()
|
function M.config_lsp_saga()
|
||||||
|
Loading…
Reference in New Issue
Block a user