Skip to content

Commit a646238

Browse files
committed
fix(ui): possible error during initial install
1 parent 41c7a6a commit a646238

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

TODO.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ✅ TODO
22

3+
- [x] progress bar?
4+
- [x] options when opening file
5+
- [x] lazy notify? not ideal when installing missing stuff
6+
- [x] topmods?
7+
38
- [ ] better merging options?
49
- [ ] especially what to do with merging of handlers?
510
- [ ] overwriting keymaps probably doesn't work

lua/lazy/view/float.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function M:mount()
115115

116116
vim.api.nvim_create_autocmd("VimResized", {
117117
callback = function()
118-
if not self.win then
118+
if not (self.win and vim.api.nvim_win_is_valid(self.win)) then
119119
return true
120120
end
121121
self:layout()

0 commit comments

Comments
 (0)