Work on delete function
parent
76d513e429
commit
7adeec982f
|
|
@ -55,7 +55,7 @@ end
|
|||
---@param n integer
|
||||
function M.func.file_del(n)
|
||||
vim.print(M.listing.bufnrs[n])
|
||||
vim.cmd("Bd " .. tostring(M.listing.paths[n]))
|
||||
vim.cmd("Bd " .. tostring(M.listing.bufnrs[n]))
|
||||
table.remove(M.listing, n)
|
||||
require("rabbit").Redraw()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue