Work on delete function

master
Bryan 2024-10-19 10:19:55 -06:00
parent 1a13e0c20c
commit 92df0c19e6
1 changed files with 2 additions and 3 deletions

View File

@ -48,9 +48,8 @@ end
---@param n integer
function M.func.file_del(n)
-- vim.cmd("bd " .. M.listing[0][n])
vim.print(M.listing[0])
require("rabbit").Redraw()
vim.cmd("bd " .. M.listing[0][n])
table.remove(M.listing, n)
end
return M