summaryrefslogtreecommitdiff
path: root/autoload/deoplete/handler.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2019-10-07 21:58:44 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2019-10-07 21:58:44 +0900
commit70a11ee67f3c4353e48aad69812c34b5c8489f07 (patch)
tree300b2da4ec6c41977287078dc19b2fec1cdd56b3 /autoload/deoplete/handler.vim
parent503c42d17deb812ee5363e271cca0e68856a289d (diff)
downloaddeoplete.nvim-70a11ee67f3c4353e48aad69812c34b5c8489f07.zip
Fix #1026 async update
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r--autoload/deoplete/handler.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index 5855662..33bab97 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -128,7 +128,7 @@ endfunction
function! s:check_prev_completion(event) abort
let prev = g:deoplete#_prev_completion
- if a:event ==# 'Async' || mode() !=# 'i'
+ if a:event ==# 'Async' || a:event ==# 'Update' || mode() !=# 'i'
\ || empty(get(prev, 'candidates', []))
\ || s:check_input_method()
return