diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2016-10-24 23:08:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-24 23:08:23 +0900 |
commit | 89d6d275ae2f5a42d8177d2211d151c0395f4875 (patch) | |
tree | 3ab9ada2e9775e7794ec9a1ed981aa54661ece3c | |
parent | 669f2b23267cfe4ae83d243f4bb69422575e8bff (diff) | |
parent | 78d6cd8be3b358d0fcbb0097eb162d2b6575d9d3 (diff) | |
download | deoplete.nvim-89d6d275ae2f5a42d8177d2211d151c0395f4875.zip |
Merge pull request #362 from tweekmonster/fix-undo
Remove undojoin
-rw-r--r-- | autoload/deoplete/mapping.vim | 3 |
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 |