summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2018-12-24 23:42:25 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2018-12-24 23:42:25 +0900
commit65e17f225852da5809b3fe6ce65f5a2d5ce2a74f (patch)
tree21149e5c041606ac1c3471dc596b526527d0e2f7 /autoload/deoplete.vim
parent0d4dee89c1de27ecc3eae9a76a52ce5e713528cf (diff)
downloaddeoplete.nvim-65e17f225852da5809b3fe6ce65f5a2d5ce2a74f.zip
Add deoplete#insert_candidate()
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r--autoload/deoplete.vim3
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