fix: Packer blank window on PackerSync
This commit is contained in:
parent
d810cc35a7
commit
585266dcef
|
@ -120,7 +120,7 @@ return packer.startup(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
|
-- reload the current file so lsp actually starts for it
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
vim.cmd "silent! e %"
|
vim.cmd 'if &ft == "packer" | echo "" | else | silent! e %'
|
||||||
end, 0)
|
end, 0)
|
||||||
end,
|
end,
|
||||||
config = override_req("lspconfig", "plugins.configs.lspconfig"),
|
config = override_req("lspconfig", "plugins.configs.lspconfig"),
|
||||||
|
|
Loading…
Reference in New Issue