From 6c3a48be7aa39ca8ad696bf5ada0cc3cec5c592b Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Tue, 3 Dec 2013 12:55:05 -0800 Subject: [PATCH] Typing after in g:ycm_auto_trigger works We'd show the user the menu, but then we'd hide it as soon as the user tried to type to filter the candidates. Fixes #704 --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 007d6afc..3002e885 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -367,7 +367,7 @@ function! s:OnCursorMovedInsertMode() call s:ClosePreviewWindowIfNeeded() endif - if g:ycm_auto_trigger + if g:ycm_auto_trigger || s:omnifunc_mode call s:InvokeCompletion() endif endfunction