diff options
-rw-r--r-- | autoload/deoplete/init.vim | 2 | ||||
-rw-r--r-- | rplugin/python3/deoplete/deoplete.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim index d859e55..05958e9 100644 --- a/autoload/deoplete/init.vim +++ b/autoload/deoplete/init.vim @@ -212,7 +212,7 @@ function! deoplete#init#_cached_context() abort \ 'omni__omnifunc': &l:omnifunc, \ } endfunction -function! deoplete#init#_context(event, sources) abort +function! deoplete#init#_context(event) abort let input = deoplete#util#get_input(a:event) let [filetype, filetypes, same_filetypes] = diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py index a912def..f0892bb 100644 --- a/rplugin/python3/deoplete/deoplete.py +++ b/rplugin/python3/deoplete/deoplete.py @@ -46,7 +46,7 @@ class Deoplete(logger.LoggingMixin): self.enable_logging() # Initialization - context = self._vim.call('deoplete#init#_context', 'Init', []) + context = self._vim.call('deoplete#init#_context', 'Init') context['rpc'] = 'deoplete_on_event' self.on_event(context) @@ -60,7 +60,7 @@ class Deoplete(logger.LoggingMixin): self.is_debug_enabled = True def completion_begin(self, user_context): - context = self._vim.call('deoplete#init#_context', '', []) + context = self._vim.call('deoplete#init#_context', '') context.update(user_context) self.debug('completion_begin (%s): %r', @@ -110,7 +110,7 @@ class Deoplete(logger.LoggingMixin): self._vim.call('deoplete#handler#_do_complete') def on_event(self, user_context): - context = self._vim.call('deoplete#init#_context', '', []) + context = self._vim.call('deoplete#init#_context', '') context.update(user_context) self.debug('on_event: %s', context['event']) |