Work on delete function

master
Bryan 2024-10-20 08:38:15 -06:00
parent 4bdb5936d8
commit 3620081fdb
1 changed files with 4 additions and 4 deletions

View File

@ -41,11 +41,11 @@ local get_buffers = function()
-- set.add(M.listing[0], b.name) -- set.add(M.listing[0], b.name)
table.insert(M.listing[0], b.name) table.insert(M.listing[0], b.name)
table.insert(M.listing.bufnrs, b.bufnr) table.insert(M.listing.bufnrs, b.bufnr)
end
table.insert(M.listing[0], M.listing[0][1]) table.insert(M.listing[0], M.listing[0][1])
table.insert(M.listing.bufnrs, M.listing.bufnrs[1]) table.insert(M.listing.bufnrs, M.listing.bufnrs[1])
table.remove(M.listing[0], 1) table.remove(M.listing[0], 1)
table.remove(M.listing.bufnrs, 1) table.remove(M.listing.bufnrs, 1)
end
end end
function M.evt.RabbitEnter() function M.evt.RabbitEnter()