From 3e77976c8deaf622ea7a99a38e8b64b75a76f13e Mon Sep 17 00:00:00 2001 From: "Aldric.li" <31800073+Parsifa1@users.noreply.github.com> Date: Sat, 16 Mar 2024 01:31:17 +0800 Subject: [PATCH] Fixed refresh delay issue when setting `w` in keymap (#1193) --- lua/lualine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lualine.lua b/lua/lualine.lua index fa89a3e7f..609304929 100644 --- a/lua/lualine.lua +++ b/lua/lualine.lua @@ -27,7 +27,7 @@ local refresh_real_curwin -- The events on which lualine redraws itself local default_refresh_events = - 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved,CursorMovedI,ModeChanged' + 'WinEnter,BufEnter,BufWritePost,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved,CursorMovedI,ModeChanged' -- Helper for apply_transitional_separators() --- finds first applied highlight group after str_checked in status ---@param status string : unprocessed statusline string