From 4cf3af65d1eca8732a544ba8809bc3c5a7ba130d Mon Sep 17 00:00:00 2001 From: itchyny Date: Fri, 23 Aug 2013 14:19:37 +0900 Subject: [PATCH] update with BufUnload --- plugin/lightline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/lightline.vim b/plugin/lightline.vim index 895fe38..a7738a8 100644 --- a/plugin/lightline.vim +++ b/plugin/lightline.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2013/08/23 13:36:39. +" Last Change: 2013/08/23 14:19:14. " ============================================================================= let s:save_cpo = &cpo @@ -13,7 +13,7 @@ augroup LightLine autocmd! autocmd ColorScheme * call lightline#highlight() autocmd WinEnter,BufWinEnter * call lightline#update() - autocmd CursorMoved,FileType * call lightline#update_once() + autocmd CursorMoved,FileType,BufUnload * call lightline#update_once() augroup END let &cpo = s:save_cpo