Work on delete function

master
Bryan 2024-10-20 09:09:01 -06:00
parent 7adeec982f
commit aa55924f76
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ end
---@param n integer
function M.func.file_del(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)
table.remove(M.listing, n)
require("rabbit").Redraw()
end