From 7d871137bea68d43b5207d76863295be16ed1eb0 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 9 Jun 2018 10:50:25 +0200 Subject: [PATCH] Correctly test for CompleteDone event --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index dc960e7..7d2a85e 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -107,7 +107,7 @@ function! s:airline_toggle() \ call airline#extensions#tabline#buffers#invalidate() autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload * \ call on_window_changed() - if exists('#CompleteDone') + if exists('##CompleteDone') autocmd CompleteDone * call on_window_changed() endif