diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-12-24 23:42:25 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-12-24 23:42:25 +0900 |
commit | 65e17f225852da5809b3fe6ce65f5a2d5ce2a74f (patch) | |
tree | 21149e5c041606ac1c3471dc596b526527d0e2f7 /autoload/deoplete.vim | |
parent | 0d4dee89c1de27ecc3eae9a76a52ce5e713528cf (diff) | |
download | deoplete.nvim-65e17f225852da5809b3fe6ce65f5a2d5ce2a74f.zip |
Add deoplete#insert_candidate()
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index b469c95..cbae794 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -75,6 +75,9 @@ function! deoplete#refresh() abort endif return pumvisible() ? "\<C-e>" : '' endfunction +function! deoplete#insert_candidate(number) abort + return deoplete#mapping#_insert_candidate(a:number) +endfunction function! deoplete#undo_completion() abort return deoplete#mapping#_undo_completion() endfunction |