mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 14:05:04 +08:00
add check to statusline's update
This commit is contained in:
parent
3736132370
commit
0cba7d3ed6
|
@ -72,7 +72,7 @@ function! s:on_window_changed(event)
|
|||
endfunction
|
||||
|
||||
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')
|
||||
endif
|
||||
call airline#update_tabline()
|
||||
|
|
Loading…
Reference in New Issue
Block a user