Correctly test for CompleteDone event

This commit is contained in:
Christian Brabandt 2018-06-09 10:50:25 +02:00
parent 6a05b92716
commit 7d871137be
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ function! s:airline_toggle()
\ call airline#extensions#tabline#buffers#invalidate()
autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload *
\ call <sid>on_window_changed()
if exists('#CompleteDone')
if exists('##CompleteDone')
autocmd CompleteDone * call <sid>on_window_changed()
endif