mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Neovim: use "dict" when referring to "self" (#566)
This commit is contained in:
parent
1540764563
commit
5bccd9bc98
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 New Issue
Block a user