runtime(netrw): Fix `reset_ssl` reference error on file rename
Commit:
https://github.com/vim/vim/commit/528adbd7579e37f685072460acdd00b0887acc49
Author: yasuda <
yas...@kyoto-sr.co.jp>
Date: Fri Jul 17 14:31:48 2026 +0000
runtime(netrw): Fix `reset_ssl` reference error on file rename
fixes:
https://github.com/vim/vim/issues/20710
closes:
https://github.com/vim/vim/issues/20777
closes: #20698
Co-Authored-by: Doruk Özer <
doru...@protonmail.com>
Signed-off-by: yasuda <
yas...@kyoto-sr.co.jp>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
index 4dc60eefa..d82dd9076 100644
--- a/runtime/pack/dist/opt/netrw/autoload/netrw.vim
+++ b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
@@ -1,7 +1,7 @@
" Creator: Charles E Campbell
" Previous Maintainer: Luca Saccarola <
github...@aleeas.com>
" Maintainer: This runtime file is looking for a new maintainer.
-" Last Change: 2026 Jul 01
+" Last Change: 2026 Jul 17
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
@@ -8680,6 +8680,7 @@ function s:NetrwLocalRename(path) range
endif
NetrwKeepj norm! 0
+ let reset_ssl = 0
if exists('+shellslash') && !&ssl
let reset_ssl = 1
set ssl