fix: persistent notices getting wrongly triggered

This commit is contained in:
shadmansaleh 2022-03-07 18:10:32 +06:00
parent 531b2f8a4b
commit 1e3cfc691f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ end
---show setup :LuaLineNotices and show notification about error when there
---are notices available
function M.notice_message_startup()
if #notices > 0 or #persistent_notices then
if #notices > 0 or #persistent_notices > 0 then
vim.cmd('command! -nargs=0 LualineNotices lua require"lualine.utils.notices".show_notices()')
vim.schedule(function()
vim.notify(