mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
Merge pull request #7666 from wsdjeg/patch-1
Fix example in job_control doc
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user