From 824b186ce5ddacb8bdde5481ccfd9eba958f8826 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 22 Nov 2013 19:50:49 +0100 Subject: [PATCH] Perforce: make it use g:signify_diffoptions References #89. --- autoload/sy/repo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index 160a251..8934186 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -165,7 +165,7 @@ endfunction " Function: #get_diff_perforce {{{1 function! sy#repo#get_diff_perforce() abort - let diffoptions = has_key(s:diffoptions, 'perforce') ? s:diffoptions.perforce : '' + let diffoptions = has_key(g:signify_diffoptions, 'perforce') ? g:signify_diffoptions.perforce : '' let diff = system('env P4DIFF=diff p4 diff -dU0 '. diffoptions .' '. sy#util#escape(b:sy.path)) return v:shell_error ? [0, ''] : [1, diff] endfunction