Merge pull request #929 from chrisbra/preview-window
Also draw a nice statusline in the preview window
This commit is contained in:
commit
dcfe24bc6d
@ -27,7 +27,8 @@ function! s:init()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:on_window_changed()
|
function! s:on_window_changed()
|
||||||
if pumvisible()
|
if pumvisible() && (!&previewwindow ||
|
||||||
|
\ (g:airline_exclude_preview && &previewwindow))
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
call s:init()
|
call s:init()
|
||||||
|
Loading…
Reference in New Issue
Block a user