Skip to content

Commit

Permalink
ncm2#set_ready has been deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
roxma committed Aug 1, 2018
1 parent 0418d5c commit d6379bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/ncm2_jedi.vim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ let g:ncm2_jedi#source = extend(get(g:, 'ncm2_jedi#source', {}), {
\ 'on_warmup': 'ncm2_jedi#on_warmup',
\ }, 'keep')

let g:ncm2_jedi#proc.on_load = {-> ncm2#set_ready(g:ncm2_jedi#source)}
func! g:ncm2_jedi#proc.on_load()
let g:ncm2_jedi#source.ready = 1
endfunc

func! ncm2_jedi#init()
call ncm2#register_source(g:ncm2_jedi#source)
Expand Down

0 comments on commit d6379bc

Please sign in to comment.