We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f4106 commit e749e68Copy full SHA for e749e68
lua/lazy/view/init.lua
@@ -31,7 +31,7 @@ function M.show(mode)
31
return
32
end
33
34
- M.view = (M.view and M.view.win) and M.view or M.create()
+ M.view = (M.view and M.view.win and vim.api.nvim_win_is_valid(M.view.win)) and M.view or M.create()
35
if mode then
36
M.view.state.mode = mode
37
0 commit comments