fix: 'false' no longer shows on lualine when lazy has no updates
This commit is contained in:
@@ -9,7 +9,7 @@ return {
|
|||||||
'ziontee113/icon-picker.nvim',
|
'ziontee113/icon-picker.nvim',
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
--[[ {
|
{
|
||||||
-- TODO: decide between this, obsidian, and mkdnflow
|
-- TODO: decide between this, obsidian, and mkdnflow
|
||||||
'renerocksai/telekasten.nvim',
|
'renerocksai/telekasten.nvim',
|
||||||
enabled = false,
|
enabled = false,
|
||||||
@@ -32,7 +32,7 @@ return {
|
|||||||
-- require('telekasten').setup({
|
-- require('telekasten').setup({
|
||||||
-- home = vim.fn.expand('~/vault'), -- Put the name of your notes directory here
|
-- home = vim.fn.expand('~/vault'), -- Put the name of your notes directory here
|
||||||
-- }),
|
-- }),
|
||||||
}, ]]
|
},
|
||||||
{
|
{
|
||||||
'epwalsh/obsidian.nvim',
|
'epwalsh/obsidian.nvim',
|
||||||
enabled = false,
|
enabled = false,
|
||||||
@@ -170,4 +170,4 @@ return {
|
|||||||
require('telescope').load_extension('undo')
|
require('telescope').load_extension('undo')
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -188,7 +188,10 @@ return {
|
|||||||
{
|
{
|
||||||
-- display a notification if there are plugins to update
|
-- display a notification if there are plugins to update
|
||||||
lazy_status.updates,
|
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' },
|
color = { fg = '#ebcb8b' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user