Work on delete function

master
Bryan 2024-10-20 00:07:53 -06:00
parent 0de91e7e6f
commit a1ee18ca96
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ local get_buffers = function()
M.listing[0] = {}
local bufs = vim.fn.getbufinfo({ buflisted = 1 })
-- table.sort(bufs, function(a, b)
-- return a.lastused < b.lastused
-- end)
table.sort(bufs, function(a, b)
return a.lastused > b.lastused
end)
for _, b in ipairs(bufs) do
set.add(M.listing.paths, b.bufnr)