Skip to content

Commit 79e2e85

Browse files
committed
fix(ui): properly cleanup on :quit. Fixes #1385
1 parent 107719d commit 79e2e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/view/float.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function M:init(opts)
6666
}
6767
self:mount()
6868
self:on_key(ViewConfig.keys.close, self.close)
69-
self:on({ "BufDelete", "BufHidden" }, self.close, { once = false })
69+
self:on({ "WinLeave", "BufDelete", "BufHidden" }, self.close, { once = false })
7070
return self
7171
end
7272

0 commit comments

Comments
 (0)