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 d1671f1fce7834b3e4371cd16fbca9f1d05abe20 (tree)
parent 48e612601bc19883ac6906583e2f0cb096dc1d0c
Author: Tim Pope <code@tpope.net>
Date:   Sat,  6 Jul 2019 07:28:41 -0400

Fix :Gedit >

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -948,7 +948,7 @@ function! s:Expand(rev, ...) abort call s:throw('Use ' . string('!' . a:rev[1:-1] . ':%') . ' instead of ' . string(a:rev)) elseif a:rev =~# '^>[~^]\|^>@{\|^>:\d$' let file = 'HEAD' . a:rev[1:-1] . ':%' - elseif a:rev =~# '^>[^> ]' + elseif a:rev =~# '^>[> ]\@!' let file = a:rev[1:-1] . ':%' else let file = a:rev