diff options
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r-- | autoload/deoplete/handler.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim index 14b45ac..737c929 100644 --- a/autoload/deoplete/handler.vim +++ b/autoload/deoplete/handler.vim @@ -199,6 +199,11 @@ function! deoplete#handler#_completion_begin(event) abort if s:is_skip(a:event) let g:deoplete#_context.candidates = [] + + " Close the popup + if deoplete#util#check_popup() + call feedkeys("\<Plug>_", 'i') + endif return endif |