From 6b76b7fcdf1e13f207641abfd7399eb8e6eebbc3 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Thu, 11 Apr 2013 14:58:18 -0500 Subject: [PATCH] apply "edit" during 2-parameter VCSVimDiff --- plugin/vcscommand.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index e88e3af..f95d10c 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -1023,8 +1023,7 @@ function! s:VCSVimDiff(...) let b:VCSCommandCommand = 'vimdiff' diffthis let t:vcsCommandVimDiffScratchList = [resultBuffer] - " If no split method is defined, cheat, and set it to vertical. - call s:VCSCommandUtility.pushContext({'VCSCommandSplit': orientation}) + call s:VCSCommandUtility.pushContext({'VCSCommandEdit': 'split', 'VCSCommandSplit': orientation}) try let resultBuffer = s:VCSReview(a:2) finally @@ -1038,7 +1037,6 @@ function! s:VCSVimDiff(...) diffthis let t:vcsCommandVimDiffScratchList += [resultBuffer] else - " Add new buffer. Force splitting behavior, otherwise why use vimdiff? call s:VCSCommandUtility.pushContext({'VCSCommandEdit': 'split', 'VCSCommandSplit': orientation}) try if(a:0 == 0) -- 2.11.4.GIT