Merge pull request #7666 from wsdjeg/patch-1

Fix example in job_control doc
This commit is contained in:
Felipe Morales 2017-12-02 20:34:31 +01:00 committed by GitHub
commit 27a577586e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ To control jobs, use the "job…" family of functions: |jobstart()|,
Example: > Example: >
function! s:JobHandler(job_id, data, event) dict function! s:OnEvent(job_id, data, event) dict
if a:event == 'stdout' if a:event == 'stdout'
let str = self.shell.' stdout: '.join(a:data) let str = self.shell.' stdout: '.join(a:data)
elseif a:event == 'stderr' elseif a:event == 'stderr'