Skip to content

Commit a625661

Browse files
committed
Close stdin on nvim jobs
1 parent b59859e commit a625661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/dispatch/job.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function! dispatch#job#handle(request) abort
3636
\ 'on_stderr': function('s:output'),
3737
\ 'on_exit': function('s:complete'),
3838
\ })
39+
call chanclose(job_id, 'stdin')
3940
let a:request.pid = jobpid(job_id)
4041
let a:request.job = job_id
4142
let s:waiting[job_id] = {'request': a:request, 'output': ['']}

0 commit comments

Comments
 (0)