mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Allow :GBrowse : to browse to repository homepage
This commit is contained in:
@@ -7276,8 +7276,6 @@ function! fugitive#BrowseCommand(line1, count, range, bang, mods, arg, ...) abor
|
||||
endif
|
||||
if rev =~? '^\a\a\+:[\/][\/]' && rev !~? '^fugitive:'
|
||||
let rev = substitute(rev, '\\\@<![#!]\|\\\@<!%\ze\w', '\\&', 'g')
|
||||
elseif rev ==# ':'
|
||||
let rev = ''
|
||||
endif
|
||||
let expanded = s:Expand(rev)
|
||||
if expanded =~? '^\a\a\+:[\/][\/]' && expanded !~? '^fugitive:'
|
||||
|
||||
Reference in New Issue
Block a user