mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Merge pull request #7666 from wsdjeg/patch-1
Fix example in job_control doc
This commit is contained in:
commit
27a577586e
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user