We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff365ce commit be85280Copy full SHA for be85280
lua/astroui/status/heirline.lua
@@ -78,7 +78,10 @@ M.make_buflist = function(component)
78
),
79
{ provider = get_icon "ArrowLeft" .. " ", hl = overflow_hl },
80
{ provider = get_icon "ArrowRight" .. " ", hl = overflow_hl },
81
- function() return vim.t.bufs or {} end, -- use astronvim bufs variable
+ function()
82
+ vim.t.bufs = vim.tbl_filter(buf_utils.is_valid, vim.t.bufs or {})
83
+ return vim.t.bufs
84
+ end, -- use astronvim bufs variable
85
false -- disable internal caching
86
)
87
end
0 commit comments