Load lualine after session load

closes #309
This commit is contained in:
shadmansaleh 2021-07-27 13:25:10 +06:00
parent f7c44efb6f
commit e544b47895
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ local function set_statusline()
augroup lualine augroup lualine
autocmd! autocmd!
autocmd WinLeave,BufLeave * lua vim.wo.statusline=require'lualine'.statusline() autocmd WinLeave,BufLeave * lua vim.wo.statusline=require'lualine'.statusline()
autocmd BufWinEnter,WinEnter,BufEnter * set statusline< autocmd BufWinEnter,WinEnter,BufEnter,SessionLoadPost * set statusline<
autocmd VimResized * redrawstatus autocmd VimResized * redrawstatus
augroup END augroup END
]], false) ]], false)