mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-22 13:34:40 +02: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…
x
Reference in New Issue
Block a user