fix(nvim): use pcall for the lsp import

This commit is contained in:
winston 2022-07-31 04:49:11 +02:00
parent 2264ded226
commit 7cb041a74b
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -16,7 +16,7 @@ if fn.empty(fn.glob(install_path)) > 0 then
end
require("utils")
require("lsp")
pcall(require, "lsp")
-- custom packer command
local packer_cmd = function(callback)