summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2016-10-24 23:08:23 +0900
committerGitHub <noreply@github.com>2016-10-24 23:08:23 +0900
commit89d6d275ae2f5a42d8177d2211d151c0395f4875 (patch)
tree3ab9ada2e9775e7794ec9a1ed981aa54661ece3c
parent669f2b23267cfe4ae83d243f4bb69422575e8bff (diff)
parent78d6cd8be3b358d0fcbb0097eb162d2b6575d9d3 (diff)
downloaddeoplete.nvim-89d6d275ae2f5a42d8177d2211d151c0395f4875.zip
Merge pull request #362 from tweekmonster/fix-undo
Remove undojoin
-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