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