SignifyDiff: support Perforce

References #253
This commit is contained in:
Marco Hinz 2018-05-03 17:36:43 +02:00
parent c42f8b21b4
commit 0f12c2b18c
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -457,12 +457,13 @@ let s:default_vcs_cmds = {
\ }
let s:default_vcs_cmds_diffmode = {
\ 'git': 'git show HEAD:./%f',
\ 'hg': 'hg cat %f',
\ 'svn': 'svn cat %f',
\ 'bzr': 'bzr cat %f',
\ 'darcs': 'darcs show contents -- %f',
\ 'cvs': 'cvs up -p -- %f 2>%n',
\ 'git': 'git show HEAD:./%f',
\ 'hg': 'hg cat %f',
\ 'svn': 'svn cat %f',
\ 'bzr': 'bzr cat %f',
\ 'darcs': 'darcs show contents -- %f',
\ 'cvs': 'cvs up -p -- %f 2>%n',
\ 'perforce': 'p4 print %f',
\ }
if exists('g:signify_vcs_cmds')