diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-06-15 08:47:41 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-06-15 08:47:41 +0900 |
commit | b61d8d97d1b4728fd0174c6cdc316a815d7d22a2 (patch) | |
tree | a93d071f8f805128faf1145f30cd892dd0f2327a /autoload | |
parent | 8bd63b7e4f9bb3cf2040724dd71cff195564166a (diff) | |
download | deoplete.nvim-b61d8d97d1b4728fd0174c6cdc316a815d7d22a2.zip |
Fix #494 skip_next_completion error
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/deoplete/handler.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim index 925ca9b..a25de34 100644 --- a/autoload/deoplete/handler.vim +++ b/autoload/deoplete/handler.vim @@ -213,6 +213,10 @@ function! s:complete_done() abort endfunction function! deoplete#handler#_skip_next_completion() abort + if !exists('g:deoplete#_context') + return + endif + let input = deoplete#util#get_input('CompleteDone') if input[-1:] !=# '/' let g:deoplete#_context.input = input |