mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 10:13:42 +08:00
Merge pull request #1986 from kazukazuinaina/add_update_statusline_check
add check to statusline's update
This commit is contained in:
commit
6eda2735aa
|
@ -72,7 +72,7 @@ function! s:on_window_changed(event)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:on_cursor_moved()
|
function! s:on_cursor_moved()
|
||||||
if winnr() != s:active_winnr
|
if winnr() != s:active_winnr || !exists('w:airline_active')
|
||||||
call s:on_window_changed('CursorMoved')
|
call s:on_window_changed('CursorMoved')
|
||||||
endif
|
endif
|
||||||
call airline#update_tabline()
|
call airline#update_tabline()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user