From 0f12c2b18c4ea6c765043ba405c524250462b544 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 3 May 2018 17:36:43 +0200 Subject: [PATCH] SignifyDiff: support Perforce References #253 --- autoload/sy/repo.vim | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index cfa833e..f93e650 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -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')