fix: close view before hijacking current window
This commit is contained in:
@@ -98,6 +98,7 @@ function M.open(cwd)
|
||||
core.init(cwd or vim.loop.cwd())
|
||||
end
|
||||
if should_hijack_current_buf() then
|
||||
view.close()
|
||||
view.open_in_current_win()
|
||||
renderer.draw()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user