remove update for InsertLeave, InsertEnter (trash in initial implementation)

This commit is contained in:
itchyny
2013-08-23 13:37:40 +09:00
parent 1ff46b602e
commit e450fdd76b
2 changed files with 3 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
" Version: 0.0
" Author: itchyny
" License: MIT License
" Last Change: 2013/08/22 19:06:29.
" Last Change: 2013/08/23 13:36:39.
" =============================================================================
let s:save_cpo = &cpo
@@ -14,8 +14,6 @@ augroup LightLine
autocmd ColorScheme * call lightline#highlight()
autocmd WinEnter,BufWinEnter * call lightline#update()
autocmd CursorMoved,FileType * call lightline#update_once()
autocmd InsertLeave * call lightline#update(1)
autocmd InsertEnter * call lightline#update(0)
augroup END
let &cpo = s:save_cpo