Typing after <c-space> 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
This commit is contained in:
parent
aeb2c5c227
commit
6c3a48be7a
@ -367,7 +367,7 @@ function! s:OnCursorMovedInsertMode()
|
|||||||
call s:ClosePreviewWindowIfNeeded()
|
call s:ClosePreviewWindowIfNeeded()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if g:ycm_auto_trigger
|
if g:ycm_auto_trigger || s:omnifunc_mode
|
||||||
call s:InvokeCompletion()
|
call s:InvokeCompletion()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user