Stop completion polling on InsertLeave event
This commit is contained in:
parent
25a2e3120c
commit
63bc2fb6e8
@ -615,8 +615,10 @@ function! s:OnInsertLeave()
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
call timer_stop( s:pollers.completion.id )
|
||||||
let s:force_semantic = 0
|
let s:force_semantic = 0
|
||||||
let s:completion = s:default_completion
|
let s:completion = s:default_completion
|
||||||
|
|
||||||
call s:OnFileReadyToParse()
|
call s:OnFileReadyToParse()
|
||||||
exec s:python_command "ycm_state.OnInsertLeave()"
|
exec s:python_command "ycm_state.OnInsertLeave()"
|
||||||
if g:ycm_autoclose_preview_window_after_completion ||
|
if g:ycm_autoclose_preview_window_after_completion ||
|
||||||
|
Loading…
Reference in New Issue
Block a user