mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-05 00:13:34 +08:00
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
|
||||
|
||||
function! s:on_window_changed()
|
||||
if pumvisible()
|
||||
if pumvisible() && (!&previewwindow ||
|
||||
\ (g:airline_exclude_preview && &previewwindow))
|
||||
return
|
||||
endif
|
||||
call s:init()
|
||||
|
|
Loading…
Reference in New Issue
Block a user