summaryrefslogtreecommitdiff
path: root/autoload/deoplete/init.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2018-10-15 21:55:32 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2018-11-08 21:34:17 +0900
commit005a30c717144272610ec49098d8dc49896e98aa (patch)
tree15e96bd00c51e29816cffc05ea11201006f96e86 /autoload/deoplete/init.vim
parent3accc4a59ed2ed06b9cb15fffe3a029dc6c40def (diff)
downloaddeoplete.nvim-005a30c717144272610ec49098d8dc49896e98aa.zip
Improve deoplete#init#_context()
Diffstat (limited to 'autoload/deoplete/init.vim')
-rw-r--r--autoload/deoplete/init.vim2
1 files changed, 1 insertions, 1 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] =