summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2018-10-14 17:04:22 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2018-11-08 21:34:17 +0900
commitdb2fbd1ea6a249672edcd9da8caae3e5e1851c59 (patch)
treef77ea0f2443ed42dbfbf65a9988247eade9d0daf /autoload/deoplete.vim
parent04ea0412e28926491f4f5d74acaae094901d3c4a (diff)
downloaddeoplete.nvim-db2fbd1ea6a249672edcd9da8caae3e5e1851c59.zip
Add cached_context
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r--autoload/deoplete.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim
index 107c670..6a4c50d 100644
--- a/autoload/deoplete.vim
+++ b/autoload/deoplete.vim
@@ -41,6 +41,7 @@ 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 = get(a:000, 0, [])
call deoplete#util#rpcnotify('deoplete_on_event',
\ deoplete#init#_context(a:event, sources))