mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-16 15:33:49 -05:00
remove update for InsertLeave, InsertEnter (trash in initial implementation)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user