diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-03-12 18:55:34 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-03-12 18:55:34 +0900 |
commit | c3c9406bfb4207c057d6a366c88466256a6ea2bd (patch) | |
tree | 04707ebdf6dc87611b88124e3ffdce2501b00906 /autoload/deoplete.vim | |
parent | b09bb1f779745af935dedf37a43f20884876d0e2 (diff) | |
download | deoplete.nvim-c3c9406bfb4207c057d6a366c88466256a6ea2bd.zip |
Add deoplete#send_event()
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 5 |
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 '' |