diff --git a/plugin/airline.vim b/plugin/airline.vim index 0fcf55c..204df99 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -27,8 +27,7 @@ function! s:init() endfunction function! s:on_window_changed() - if pumvisible() && (!&previewwindow || - \ (g:airline_exclude_preview && &previewwindow)) + if pumvisible() && (!&previewwindow || g:airline_exclude_preview) return endif call s:init()