fix: Packer blank window on PackerSync

This commit is contained in:
Akianonymus 2021-10-02 10:59:23 +05:30 committed by siduck76
parent d810cc35a7
commit 585266dcef

View File

@ -120,7 +120,7 @@ return packer.startup(function()
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 %"
vim.cmd 'if &ft == "packer" | echo "" | else | silent! e %'
end, 0)
end,
config = override_req("lspconfig", "plugins.configs.lspconfig"),