Fix #4738.
Since Netrw v165, the gx command had been broken at least on macOS and
MS-Windows. The platform-specific open commands support to handle a
remote URL directly, however, Netrw downloaded a file first.
Stop downloading a remote file when the viewer supports to handle a
remote URL.
https://github.com/vim/vim/pull/7188
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
I confess that I'm not a git master. It'd be a help if you could send
me a patch instead of a commit which I don't use
@dpelle commented on this pull request.
> @@ -1510,6 +1510,9 @@ Netrw determines which special handler by the following method:
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
used instead (see |netrw_filehandler|).
+ If the viewer doesn't support to handle a remote URL directry, set
directry → directory
I'm not a native speaker, but grammar also does not look right. I think it should be:
If the viewer doesn't support handling of a remote URL directory, set …
@eirnym commented on this pull request.
> @@ -1510,6 +1510,9 @@ Netrw determines which special handler by the following method:
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
used instead (see |netrw_filehandler|).
+ If the viewer doesn't support to handle a remote URL directry, set
direclty was a good term here
@nickspoons commented on this pull request.
> @@ -1510,6 +1510,9 @@ Netrw determines which special handler by the following method:
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
used instead (see |netrw_filehandler|).
+ If the viewer doesn't support to handle a remote URL directry, set
I agree with @dpelle about the grammar, but suspect that @eirnym is correct (despite the spelling mistake 😄 ) in that the word we're after is "directly".
If the viewer doesn't support handling of a remote URL directly, set …
@k-takata commented on this pull request.
> @@ -1510,6 +1510,9 @@ Netrw determines which special handler by the following method:
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
used instead (see |netrw_filehandler|).
+ If the viewer doesn't support to handle a remote URL directry, set
I meant "directly", but it can be removed.
Updated based on @nickspoons' suggestion.
@eirnym commented on this pull request.
> @@ -1510,6 +1510,9 @@ Netrw determines which special handler by the following method:
If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be
used instead (see |netrw_filehandler|).
+ If the viewer doesn't support to handle a remote URL directry, set
@nickspoons thanks, for a pointing me to a grammar mistake. Fast reading autocorrects grammar :)
It looks that this has been included in Netrw v171: 89a9c15
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
![]()