neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit a6cccd728a5b9363661c3daf79046afe4b37a5ee
parent ac6d8d008720f80bdbc5f44c6a75aa78c816dc52
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Fri,  6 Oct 2023 09:51:19 +0200

vim-patch:0e958410046a

runtime(netrw): diff (`df`) may open the wrong window (vim/vim#13275)

closes: vim/vim#11359

https://github.com/vim/vim/commit/0e958410046aa764ec73b14b1d2839053b31d242

Co-authored-by: KSR-Yasuda <31273423+KSR-Yasuda@users.noreply.github.com>

Diffstat:
Mruntime/autoload/netrw.vim | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim @@ -7332,8 +7332,7 @@ fun! s:NetrwMarkFileDiff(islocal) exe "NetrwKeepj e ".fnameescape(fname) diffthis elseif cnt == 2 || cnt == 3 - vsplit - wincmd l + below vsplit " call Decho("diffthis: ".fname,'~'.expand("<slnum>")) exe "NetrwKeepj e ".fnameescape(fname) diffthis