fix potential performance problems with completeopt+=preview

This commit is contained in:
Bailey Ling 2013-08-24 21:17:16 -04:00
parent 42cb6317c2
commit c517f9c6f9
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ function! s:init()
endfunction endfunction
function! s:on_window_changed() function! s:on_window_changed()
if pumvisible()
return
endif
call <sid>init() call <sid>init()
call airline#update_statusline() call airline#update_statusline()
endfunction endfunction