mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 04:34:26 +08:00
Correctly test for CompleteDone event
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user