mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-11 12:47:44 +08:00
fix potential performance problems with completeopt+=preview
This commit is contained in:
parent
42cb6317c2
commit
c517f9c6f9
|
@ -72,6 +72,9 @@ function! s:init()
|
|||
endfunction
|
||||
|
||||
function! s:on_window_changed()
|
||||
if pumvisible()
|
||||
return
|
||||
endif
|
||||
call <sid>init()
|
||||
call airline#update_statusline()
|
||||
endfunction
|
||||
|
|
Loading…
Reference in New Issue
Block a user