Skip to content

Commit

Permalink
fix(ui): possible error during initial install
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 11, 2023
1 parent 41c7a6a commit a646238
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ✅ TODO

- [x] progress bar?
- [x] options when opening file
- [x] lazy notify? not ideal when installing missing stuff
- [x] topmods?

- [ ] better merging options?
- [ ] especially what to do with merging of handlers?
- [ ] overwriting keymaps probably doesn't work
Expand Down
2 changes: 1 addition & 1 deletion lua/lazy/view/float.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a646238

Please sign in to comment.