Revert "fix : packer blank window on PackerSync"

This reverts commit 9a2430132f.
This commit is contained in:
siduck76 2021-10-01 19:34:18 +05:30
parent 9a2430132f
commit cd9b2c4810

View File

@ -129,6 +129,10 @@ 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"),
} }