diff options
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 6a4c50d..117ed60 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -42,9 +42,9 @@ endfunction function! deoplete#send_event(event, ...) abort let g:deoplete#_cached_context = deoplete#init#_cached_context() - let sources = get(a:000, 0, []) + let sources = deoplete#util#convert2list(get(a:000, 0, [])) call deoplete#util#rpcnotify('deoplete_on_event', - \ deoplete#init#_context(a:event, sources)) + \ {'event': a:event, 'sources': sources}) endfunction function! deoplete#manual_complete(...) abort |