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
+2 -2
View File
@@ -9,7 +9,7 @@ return {
'ziontee113/icon-picker.nvim',
enabled = false,
},
--[[ {
{
-- TODO: decide between this, obsidian, and mkdnflow
'renerocksai/telekasten.nvim',
enabled = false,
@@ -32,7 +32,7 @@ return {
-- require('telekasten').setup({
-- home = vim.fn.expand('~/vault'), -- Put the name of your notes directory here
-- }),
}, ]]
},
{
'epwalsh/obsidian.nvim',
enabled = false,
+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' },
},
{