Fix typo in callback_stdout_nvim()

Fixes #206.
This commit is contained in:
Marco Hinz 2017-01-23 12:50:13 +01:00
parent 0db69f4658
commit e43155f3e1
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -26,7 +26,7 @@ function! s:callback_stdout_nvim(_job_id, data, _event) dict abort
let self.stdoutbuf += a:data let self.stdoutbuf += a:data
else else
let self.stdoutbuf = self.stdoutbuf[:2] let self.stdoutbuf = self.stdoutbuf[:2]
\ + [self.stdoutbuf[-1] . get(a:data, 0, '') \ + [self.stdoutbuf[-1] . get(a:data, 0, '')]
\ + a:data[1:] \ + a:data[1:]
endif endif
endfunction endfunction