Restore :Gdiffsplit :n
This commit is contained in:
parent
80996c2e2c
commit
8a693fb7bc
@ -4157,6 +4157,8 @@ function! s:Diff(autodir, keepfocus, mods, ...) abort
|
||||
let file = s:Relative()
|
||||
elseif arg ==# ':'
|
||||
let file = s:Relative(':0:')
|
||||
elseif arg =~# '^:\d$'
|
||||
let file = s:Relative(arg . ':')
|
||||
else
|
||||
try
|
||||
let file = arg =~# '^:/.' ? fugitive#RevParse(arg) . s:Relative(':') : s:Expand(arg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user