Skip to content

Commit 657c1bb

Browse files
committed
fix(previewer): listed buffers map
1 parent eee072d commit 657c1bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/fzf-lua/previewer/builtin.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function Previewer.base:new(o, opts)
227227
-- since show_document reuses buffers and I couldn't find a better way
228228
-- to determine if the destination buffer was listed prior to the jump
229229
local is_listed = function(b) return fn.buflisted(b) == 1 end ---@type fun(b: integer): boolean
230-
self.listed_buffers = utils.list_to_map(vim.tbl_map(is_listed, api.nvim_list_bufs()))
230+
self.listed_buffers = vim.tbl_map(is_listed, api.nvim_list_bufs())
231231
return self
232232
end
233233

0 commit comments

Comments
 (0)