hotfix forgot to switch win open to view in on_leave call
This commit is contained in:
@@ -162,7 +162,7 @@ end
|
|||||||
|
|
||||||
function M.on_leave()
|
function M.on_leave()
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
if #api.nvim_list_wins() == 1 and lib.win_open() then
|
if #api.nvim_list_wins() == 1 and view.win_open() then
|
||||||
api.nvim_command(':silent qa!')
|
api.nvim_command(':silent qa!')
|
||||||
end
|
end
|
||||||
end, 50)
|
end, 50)
|
||||||
|
|||||||
Reference in New Issue
Block a user