diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index d8f51e5..91ffa6e 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -7437,9 +7437,12 @@ function! s:BrowserOpen(url, mods, echo_copy) abort else if !exists('g:loaded_netrw') runtime! autoload/netrw.vim + runtime! autoload/netrw/os.vim endif if exists('*netrw#Open') return 'echo '.string(url).'|' . mods . 'call netrw#Open('.string(url).')' + elseif exists('*netrw#os#Open') + return 'echo '.string(url).'|' . mods . 'call netrw#os#Open('.string(url).')' elseif exists('*netrw#BrowseX') return 'echo '.string(url).'|' . mods . 'call netrw#BrowseX('.string(url).', 0)' elseif exists('*netrw#NetrwBrowseX')