diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index 80a37ee..ac1a4bf 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -26,7 +26,7 @@ function! s:callback_stdout_nvim(_job_id, data, _event) dict abort let self.stdoutbuf += a:data else let self.stdoutbuf = self.stdoutbuf[:2] - \ + [self.stdoutbuf[-1] . get(a:data, 0, '') + \ + [self.stdoutbuf[-1] . get(a:data, 0, '')] \ + a:data[1:] endif endfunction