parent
1e53bf7386
commit
664c688974
|
@ -26,7 +26,7 @@ local last_focus = {}
|
|||
local refresh_real_curwin
|
||||
|
||||
-- The events on which lualine redraws itself
|
||||
local default_refresh_events = 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype'
|
||||
local default_refresh_events = 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved'
|
||||
if vim.fn.has('nvim-0.7') == 1 then -- utilize ModeChanged event introduced in 0.7
|
||||
default_refresh_events = default_refresh_events .. ',ModeChanged'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue