Fix redraw issue after :Gbrowse

This commit is contained in:
Tim Pope
2011-08-12 17:50:58 -04:00
parent 7991e832a3
commit 6c0649ed9b

View File

@@ -1549,7 +1549,7 @@ function! s:Browse(bang,line1,count,...) abort
let @* = url let @* = url
return 'echomsg '.string(url) return 'echomsg '.string(url)
else else
return 'echomsg '.string(url).'|silent Git web--browse '.shellescape(url,1) return 'echomsg '.string(url).'|call fugitive#buffer().repo().git_chomp("web--browse",'.string(url).')'
endif endif
catch /^fugitive:/ catch /^fugitive:/
return 'echoerr v:errmsg' return 'echoerr v:errmsg'