motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit d6f7eaf16cde354cd3002e78152122616aaef1e0 (tree)
parent b6dbe402e8ea7632129f9ef96f5dff3dedc35517
Author: Tim Pope <code@tpope.net>
Date:   Fri, 16 Aug 2019 03:13:32 -0400

Compensate for 'noequalalways' in merge diff

Closes https://github.com/tpope/vim-fugitive/issues/674

Diffstat:
Mautoload/fugitive.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -4439,6 +4439,9 @@ function! s:Diff(autodir, keepfocus, mods, ...) abort call s:Map('n', 'd' . (i + 2) . 'o', ':diffget '.nrx.'<Bar>diffupdate<CR>', '<silent>') endfor call s:diffthis() + if len(parents) > 1 + wincmd = + endif return post elseif len(args) let arg = join(args, ' ')