Merge pull request #1986 from kazukazuinaina/add_update_statusline_check

add check to statusline's update
This commit is contained in:
Christian Brabandt authored and GitHub committed 2019-10-24 09:38:01 +02:00
commit 6eda2735aa
1 file changed
+1 -1
+1 -1
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()