summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r--autoload/deoplete.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim
index e95d902..34b7b5d 100644
--- a/autoload/deoplete.vim
+++ b/autoload/deoplete.vim
@@ -30,6 +30,11 @@ function! deoplete#enable_logging(level, logfile) abort
call deoplete#util#rpcnotify('deoplete_enable_logging', {})
endfunction
+function! deoplete#send_event(event) abort
+ call deoplete#util#rpcnotify('deoplete_on_event',
+ \ deoplete#init#_context(a:event, []))
+endfunction
+
function! deoplete#manual_complete(...) abort
if !deoplete#is_enabled()
return ''