Work on delete function
parent
71b42d28e5
commit
92cd0b6836
|
|
@ -48,8 +48,9 @@ end
|
|||
|
||||
---@param n integer
|
||||
function M.func.file_del(n)
|
||||
vim.cmd("bd " .. tostring(M.listing.paths[n]))
|
||||
table.remove(M.listing, n)
|
||||
vim.print(M.listing.paths[n])
|
||||
-- vim.cmd("bd " .. tostring(M.listing.paths[n]))
|
||||
-- table.remove(M.listing, n)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Reference in New Issue