]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(netrw): Fix `reset_ssl` reference error on file rename
authoryasuda <yasuda@kyoto-sr.co.jp>
Fri, 17 Jul 2026 14:31:48 +0000 (14:31 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 17 Jul 2026 14:31:48 +0000 (14:31 +0000)
fixes:  #20710
closes: #20777
closes: #20698

Co-Authored-by: Doruk Özer <dorukozer@protonmail.com>
Signed-off-by: yasuda <yasuda@kyoto-sr.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/pack/dist/opt/netrw/autoload/netrw.vim

index 4dc60eefa125b08d4015ea0814525d227c002094..d82dd907689e0c9d5b4f13cc435672bdb6e10e41 100644 (file)
@@ -1,7 +1,7 @@
 " Creator:    Charles E Campbell
 " Previous Maintainer: Luca Saccarola <github.e41mv@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