async: Todo: Check if cwd option for Vim 8 is needed

This commit is contained in:
Christian Brabandt 2018-01-04 23:29:15 +01:00
parent 88130fd377
commit 3b5f2bd470
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -53,6 +53,8 @@ endfunction
if v:version >= 800 && has("job") if v:version >= 800 && has("job")
" Vim 8.0 with Job feature " Vim 8.0 with Job feature
" TODO: Check if we need the cwd option for the job_start() functions
" (only works starting with Vim 8.0.0902)
function! s:on_stdout(channel, msg) dict abort function! s:on_stdout(channel, msg) dict abort
let self.buf .= a:msg let self.buf .= a:msg