From e544b47895eec1c2e6ba1216dbe23c50dbdd6eb1 Mon Sep 17 00:00:00 2001 From: shadmansaleh Date: Tue, 27 Jul 2021 13:25:10 +0600 Subject: [PATCH] Load lualine after session load closes #309 --- lua/lualine/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lualine/init.lua b/lua/lualine/init.lua index 5253590..83f361c 100644 --- a/lua/lualine/init.lua +++ b/lua/lualine/init.lua @@ -209,7 +209,7 @@ local function set_statusline() augroup lualine autocmd! 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 augroup END ]], false)