fix : packer blank window on PackerSync

This commit is contained in:
siduck76 2021-10-01 17:15:23 +05:30
parent 1c9b5b46e4
commit 9a2430132f

View File

@ -129,10 +129,6 @@ return packer.startup(function()
opt = true, opt = true,
setup = function() setup = function()
require("core.utils").packer_lazy_load "nvim-lspconfig" require("core.utils").packer_lazy_load "nvim-lspconfig"
-- reload the current file so lsp actually starts for it
vim.defer_fn(function()
vim.cmd "silent! e %"
end, 0)
end, end,
config = override_req("lspconfig", "plugins.configs.lspconfig"), config = override_req("lspconfig", "plugins.configs.lspconfig"),
} }