summaryrefslogtreecommitdiff
path: root/autoload/deoplete/mapping.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/deoplete/mapping.vim')
-rw-r--r--autoload/deoplete/mapping.vim3
1 files changed, 0 insertions, 3 deletions
diff --git a/autoload/deoplete/mapping.vim b/autoload/deoplete/mapping.vim
index 32f7cf2..a14dd1d 100644
--- a/autoload/deoplete/mapping.vim
+++ b/autoload/deoplete/mapping.vim
@@ -14,9 +14,6 @@ endfunction"}}}
function! deoplete#mapping#_do_complete(context) abort "{{{
if b:changedtick == get(a:context, 'changedtick', -1)
\ && mode() ==# 'i'
- if a:context.event ==# 'InsertEnter'
- silent! undojoin
- endif
call complete(a:context.complete_position + 1, a:context.candidates)
endif