chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-08-22 05:13:35 +00:00 committed by github-actions[bot]
parent b87e47e1de
commit 3cf45404d4
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ local last_focus = {}
local refresh_real_curwin
-- The events on which lualine redraws itself
local default_refresh_events = 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved,CursorMovedI'
local default_refresh_events =
'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved,CursorMovedI'
if vim.fn.has('nvim-0.7') == 1 then -- utilize ModeChanged event introduced in 0.7
default_refresh_events = default_refresh_events .. ',ModeChanged'
end