diff --git a/plugin/airline.vim b/plugin/airline.vim index d160feb5..cc0b455e 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -176,7 +176,11 @@ function! s:airline_toggle() if !airline#util#stl_disabled(winnr()) if &laststatus < 2 + let _scroll=&scroll set laststatus=2 + if &scroll != _scroll + let &scroll = _scroll + endif endif endif if s:airline_initialized