diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index e379c0b..a72be03 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -179,6 +179,11 @@ function! s:check_diff_svn(exitval, diff) abort return a:exitval ? [0, []] : [1, a:diff] endfunction +" s:check_diff_dssc {{{1 +function! s:check_diff_dssc(exitval, diff) abort + return a:exitval ? [0, []] : [1, s:strip_context(a:diff)] +endfunction + " s:check_diff_bzr {{{1 function! s:check_diff_bzr(exitval, diff) abort return (a:exitval =~ '[012]') ? [1, a:diff] : [0, []]