summaryrefslogtreecommitdiff
path: root/autoload/deoplete/handler.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2020-05-26 09:53:11 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2020-05-26 09:53:11 +0900
commit3e4a123cc9563d432b2e109f505405f1ea689d5b (patch)
tree9a5dee8f3c92488651c1b98561f737499d8a8951 /autoload/deoplete/handler.vim
parentcb9212d4a1840a7a03453b6e33bd52f87378ae93 (diff)
downloaddeoplete.nvim-3e4a123cc9563d432b2e109f505405f1ea689d5b.zip
Check prev text in Update
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r--autoload/deoplete/handler.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index 08c5327..44c0c74 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -256,6 +256,10 @@ function! s:is_skip_prev_text(event) abort
return 1
endif
+ if a:event ==# 'Update' && prev_input !=# '' && input !=# prev_input
+ return 1
+ endif
+
return 0
endfunction
function! s:is_skip_text(event) abort