Merge pull request #929 from chrisbra/preview-window

Also draw a nice statusline in the preview window
This commit is contained in:
Christian Brabandt 2016-01-20 19:27:24 +01:00
commit dcfe24bc6d

View File

@ -27,7 +27,8 @@ function! s:init()
endfunction
function! s:on_window_changed()
if pumvisible()
if pumvisible() && (!&previewwindow ||
\ (g:airline_exclude_preview && &previewwindow))
return
endif
call s:init()