vim-patch:528adbd: runtime(netrw): Fix reset_ssl reference error on file rename (#40799)

fixes:  vim/vim#20710
closes: vim/vim#20777
closes: vim/vim#20698

528adbd757

Co-authored-by: yasuda <yasuda@kyoto-sr.co.jp>
Co-authored-by: Doruk Özer <dorukozer@protonmail.com>
This commit is contained in:
zeertzjq
2026-07-18 06:44:43 +08:00
committed by GitHub
parent 844f045078
commit a2e36d8df8

View 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
@@ -8684,6 +8684,7 @@ function s:NetrwLocalRename(path) range
endif
NetrwKeepj norm! 0
let reset_ssl = 0
if exists('+shellslash') && !&ssl
let reset_ssl = 1
set ssl