add check to statusline's update

This commit is contained in:
kazukazuinaina 2019-10-24 16:19:58 +09:00
parent 3736132370
commit 0cba7d3ed6
1 changed files with 1 additions and 1 deletions

View File

@ -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()