diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-11-15 09:01:19 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2018-11-15 09:01:19 +0900 |
commit | a6943b094c403876048cd7a92c123d201561aaa6 (patch) | |
tree | 343f79dd8ce003f8d91cc3ab4beac30d7b99be52 /autoload/deoplete.vim | |
parent | bab68537c539ddb4c1bac0940f4369882870c75d (diff) | |
download | deoplete.nvim-a6943b094c403876048cd7a92c123d201561aaa6.zip |
Improve context initialization
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 55f332a..b469c95 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -41,11 +41,9 @@ function! deoplete#enable_logging(level, logfile) abort endfunction function! deoplete#send_event(event, ...) abort - let g:deoplete#_cached_context = deoplete#init#_cached_context() let sources = deoplete#util#convert2list(get(a:000, 0, [])) - let context = deoplete#init#_context(a:event) call deoplete#util#rpcnotify('deoplete_on_event', - \ extend(context, {'sources': sources})) + \ {'event': a:event, 'sources': sources}) endfunction function! deoplete#manual_complete(...) abort |