fix: 'false' no longer shows on lualine when lazy has no updates

This commit is contained in:
2024-12-10 15:01:25 -05:00
parent a768189dd3
commit 069a9a5fa3
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -188,7 +188,10 @@ return {
{
-- display a notification if there are plugins to update
lazy_status.updates,
cond = lazy_status.has_updates and conditions.min_statusline_width(120),
cond = function()
local window_size = conditions.min_statusline_width(120)
return lazy_status.has_updates() and window_size()
end,
color = { fg = '#ebcb8b' },
},
{