Skip to content

Commit

Permalink
fix(buflist utilities): use buf_func with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Dec 9, 2022
1 parent f684e4c commit 90416e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/heirline/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function M.make_buflist(buffer_component, left_trunc, right_trunc, buf_func, buf
end

self.active_child = false
local bufs = get_bufs()
local bufs = buf_func()
local visible_buffers = bufs_in_tab()

for i, bufnr in ipairs(bufs) do
Expand Down

0 comments on commit 90416e2

Please sign in to comment.