Neovim: use "dict" when referring to "self" (#566)
This commit is contained in:
parent
1540764563
commit
5bccd9bc98
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -1153,7 +1153,7 @@ function! s:job_cb(fn, job, ch, data)
|
|||
call call(a:fn, [a:job, a:data])
|
||||
endfunction
|
||||
|
||||
function! s:nvim_cb(job_id, data, event) abort
|
||||
function! s:nvim_cb(job_id, data, event) dict abort
|
||||
return a:event == 'stdout' ?
|
||||
\ s:job_cb('s:job_out_cb', self, 0, join(a:data, "\n")) :
|
||||
\ s:job_cb('s:job_exit_cb', self, 0, a:data)
|
||||
|
|
Loading…
Reference in a new issue