diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-01-16 23:27:40 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-01-16 23:28:49 +0900 |
commit | 7c6e25d094cee2c5b12cbc94d13e4881635c9d89 (patch) | |
tree | b4924698f9e2f755b0899d6fce6261ec05f8f93a | |
parent | f076c20d394426230670f838b7162a883c3dac47 (diff) | |
download | deoplete.nvim-7c6e25d094cee2c5b12cbc94d13e4881635c9d89.zip |
Fix #917 autoselect problem
-rw-r--r-- | autoload/deoplete/handler.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim index 0c234d4..68d18a9 100644 --- a/autoload/deoplete/handler.vim +++ b/autoload/deoplete/handler.vim @@ -193,7 +193,6 @@ function! s:completion_begin(event) abort let s:check_insert_charpre = (a:event ==# 'InsertCharPre') if s:is_skip(a:event) - call deoplete#mapping#_restore_completeopt() let g:deoplete#_context.candidates = [] return endif @@ -312,6 +311,7 @@ function! deoplete#handler#_skip_next_completion() abort if input !~# '[/.]$' let g:deoplete#_context.input = input endif + call deoplete#mapping#_restore_completeopt() call deoplete#init#_prev_completion() endfunction |