From b2bbecea6b29412eb171a47981b8a5fecb2c7c92 Mon Sep 17 00:00:00 2001 From: itchyny Date: Fri, 23 Aug 2013 15:22:16 +0900 Subject: [PATCH] autocmd FileType * call lightline#update() (instead of update_once: previously, does not work for NERDTree) --- plugin/lightline.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/lightline.vim b/plugin/lightline.vim index 43d3176..7a23ca7 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 14:27:31. +" Last Change: 2013/08/23 15:19:31. " ============================================================================= if exists('g:loaded_lightline') && g:loaded_lightline @@ -16,8 +16,8 @@ set cpo&vim augroup LightLine autocmd! autocmd ColorScheme * call lightline#highlight() - autocmd WinEnter,BufWinEnter * call lightline#update() - autocmd CursorMoved,FileType,BufUnload * call lightline#update_once() + autocmd WinEnter,BufWinEnter,FileType * call lightline#update() + autocmd CursorMoved,BufUnload * call lightline#update_once() augroup END let g:loaded_lightline = 1