mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(ui): possible error during initial install
This commit is contained in:
parent
41c7a6a6c0
commit
a64623899d
2 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,7 @@ function M:mount()
|
|||
|
||||
vim.api.nvim_create_autocmd("VimResized", {
|
||||
callback = function()
|
||||
if not self.win then
|
||||
if not (self.win and vim.api.nvim_win_is_valid(self.win)) then
|
||||
return true
|
||||
end
|
||||
self:layout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue