Fix "Calling dict function without Dictionary"

Closes #223.
This commit is contained in:
Marco Hinz 2017-02-17 15:13:27 +01:00
parent b7db40e58e
commit 8d35722aa1
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -97,7 +97,7 @@ function! sy#repo#get_diff_start(vcs, do_register) abort
\ 'exit_cb': function('s:callback_exit', options),
\ }
if !has('patch-8.0.50')
let opts.close_cb = function('s:callback_close')
let opts.close_cb = function('s:callback_close', options)
endif
let b:sy_job_id_{a:vcs} = job_start(cmd, opts)
finally