diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-06-06 09:05:18 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-06-06 09:05:18 +0900 |
commit | 8bd63b7e4f9bb3cf2040724dd71cff195564166a (patch) | |
tree | 2fb6c600e057abb86848f3d8279ae7edffec187c /autoload/deoplete.vim | |
parent | 2eb3fa505a649f2a81003252c7a5e06426e051a6 (diff) | |
download | deoplete.nvim-8bd63b7e4f9bb3cf2040724dd71cff195564166a.zip |
Improve skip the next completion
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 430e689..d2583b2 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -44,9 +44,11 @@ function! deoplete#manual_complete(...) abort \ . string(get(a:000, 0, [])) . ")\<CR>" endfunction function! deoplete#close_popup() abort + call deoplete#handler#_skip_next_completion() return pumvisible() ? "\<C-y>" : '' endfunction function! deoplete#smart_close_popup() abort + call deoplete#handler#_skip_next_completion() return pumvisible() ? "\<C-e>" : '' endfunction function! deoplete#cancel_popup() abort |