Use netrw not web--browse to invoke browser

Closes #411.
This commit is contained in:
Tim Pope 2014-06-21 10:30:20 -04:00
parent 4b75c7bff2
commit 585fcc8a9b

View File

@ -1963,7 +1963,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).'|call fugitive#buffer().repo().git_chomp("web--browse",'.string(url).')' return 'echomsg '.string(url).'|call netrw#NetrwBrowseX('.string(url).', 0)'
endif endif
catch /^fugitive:/ catch /^fugitive:/
return 'echoerr v:errmsg' return 'echoerr v:errmsg'