diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index d1cba56..b0fdd88 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -25,7 +25,7 @@ function! s:callback_stdout_nvim(_job_id, data, _event) dict abort if empty(self.stdoutbuf) || empty(self.stdoutbuf[-1]) let self.stdoutbuf += a:data else - let self.stdoutbuf = self.stdoutbuf[:2] + let self.stdoutbuf = self.stdoutbuf[:-2] \ + [self.stdoutbuf[-1] . get(a:data, 0, '')] \ + a:data[1:] endif