mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-04 00:33:45 +08:00
add check to statusline's update
This commit is contained in:
1 parent
3736132370
commit
0cba7d3ed6
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user