fix: remove buffer when replacing window
This commit is contained in:
parent
506d2e792a
commit
591f5d436d
@ -309,6 +309,7 @@ function M.open_on_directory()
|
||||
view.close()
|
||||
end
|
||||
M.hijack_current_window()
|
||||
vim.api.nvim_buf_delete(buf, { force = true })
|
||||
lib.change_dir(bufname)
|
||||
lib.set_index_and_redraw(bufname)
|
||||
view.focus()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user