mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-14 22:43:50 -05:00
update with BufUnload
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user