Fossil: add support for :SignifyDiff

This commit is contained in:
Eric Peters 2019-03-28 00:39:42 -07:00 committed by Marco Hinz
parent 192d5734b1
commit bdbda32568

View File

@ -452,10 +452,11 @@ if executable(s:difftool)
\ 'tfs': 'tf' \ 'tfs': 'tf'
\ } \ }
else else
call sy#verbose('No "diff" executable found. Disable support for svn, darcs, bzr, fossil.') call sy#verbose('No "diff" executable found. Disable support for svn, darcs, bzr.')
let s:vcs_dict = { let s:vcs_dict = {
\ 'git': 'git', \ 'git': 'git',
\ 'hg': 'hg', \ 'hg': 'hg',
\ 'fossil': 'fossil',
\ 'cvs': 'cvs', \ 'cvs': 'cvs',
\ 'rcs': 'rcsdiff', \ 'rcs': 'rcsdiff',
\ 'accurev': 'accurev', \ 'accurev': 'accurev',
@ -489,6 +490,7 @@ let s:default_vcs_cmds_diffmode = {
\ 'svn': 'svn cat %f', \ 'svn': 'svn cat %f',
\ 'bzr': 'bzr cat %f', \ 'bzr': 'bzr cat %f',
\ 'darcs': 'darcs show contents -- %f', \ 'darcs': 'darcs show contents -- %f',
\ 'fossil': 'fossil cat %f',
\ 'cvs': 'cvs up -p -- %f 2>%n', \ 'cvs': 'cvs up -p -- %f 2>%n',
\ 'perforce': 'p4 print %f', \ 'perforce': 'p4 print %f',
\ } \ }