mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
fix potential performance problems with completeopt+=preview
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user