Work on delete function
parent
aa55924f76
commit
e0b57c0598
|
|
@ -56,7 +56,7 @@ end
|
||||||
function M.func.file_del(n)
|
function M.func.file_del(n)
|
||||||
vim.print(M.listing.bufnrs[n])
|
vim.print(M.listing.bufnrs[n])
|
||||||
-- vim.cmd("bd " .. tostring(M.listing.bufnrs[n]))
|
-- vim.cmd("bd " .. tostring(M.listing.bufnrs[n]))
|
||||||
require("bufdelete").bufdelete(n)
|
require("bufdelete").bufdelete(M.listing.bufnrs[n])
|
||||||
table.remove(M.listing, n)
|
table.remove(M.listing, n)
|
||||||
require("rabbit").Redraw()
|
require("rabbit").Redraw()
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue