Skip to content

Commit

Permalink
Merge pull request #7666 from wsdjeg/patch-1
Browse files Browse the repository at this point in the history
Fix example in job_control doc
  • Loading branch information
fmoralesc committed Dec 2, 2017
2 parents 44421a2 + ee2e6d1 commit 27a5775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/doc/job_control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To control jobs, use the "job…" family of functions: |jobstart()|,

Example: >
function! s:JobHandler(job_id, data, event) dict
function! s:OnEvent(job_id, data, event) dict
if a:event == 'stdout'
let str = self.shell.' stdout: '.join(a:data)
elseif a:event == 'stderr'
Expand Down

0 comments on commit 27a5775

Please sign in to comment.