chore: remove quit_on_open from view and use abandon current window

This commit is contained in:
kiyan
2022-07-04 14:12:56 +02:00
parent 40e515df87
commit 70bdf496ea
2 changed files with 1 additions and 5 deletions

View File

@@ -284,10 +284,6 @@ function M.abandon_current_window()
M.View.tabpages[tab].winnr = nil
end
function M.quit_on_open()
M.abandon_current_window()
end
function M.is_visible(opts)
if opts and opts.any_tabpage then
for _, v in pairs(M.View.tabpages) do