Fix :Gedit >
This commit is contained in:
parent
48e612601b
commit
d1671f1fce
@ -948,7 +948,7 @@ function! s:Expand(rev, ...) abort
|
|||||||
call s:throw('Use ' . string('!' . a:rev[1:-1] . ':%') . ' instead of ' . string(a:rev))
|
call s:throw('Use ' . string('!' . a:rev[1:-1] . ':%') . ' instead of ' . string(a:rev))
|
||||||
elseif a:rev =~# '^>[~^]\|^>@{\|^>:\d$'
|
elseif a:rev =~# '^>[~^]\|^>@{\|^>:\d$'
|
||||||
let file = 'HEAD' . a:rev[1:-1] . ':%'
|
let file = 'HEAD' . a:rev[1:-1] . ':%'
|
||||||
elseif a:rev =~# '^>[^> ]'
|
elseif a:rev =~# '^>[> ]\@!'
|
||||||
let file = a:rev[1:-1] . ':%'
|
let file = a:rev[1:-1] . ':%'
|
||||||
else
|
else
|
||||||
let file = a:rev
|
let file = a:rev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user