diff --git a/lua/lualine/utils/notices.lua b/lua/lualine/utils/notices.lua index 4d8001f..2b5b8aa 100644 --- a/lua/lualine/utils/notices.lua +++ b/lua/lualine/utils/notices.lua @@ -12,6 +12,9 @@ function M.add_notice(notice) if type(notice) == 'string' then notice = vim.split(notice, '\n') end + if notice[#notice] ~= '' then + notice[#notice+1] = '' + end table.insert(notices, notice) end