I started getting the shared error when renaming operation invoked in netrw, after recent update
intruduced with commit 48474e6 I believe
Related diff block
+ if exists('+shellslash') && !&ssl
+ let reset_ssl = 1
+ set ssl
+ endif
+ " Consistently use / as directory separator
let oldname= netrw#fs#ComposePath(a:path,curword)
+ if reset_ssl
+ set nossl
+ endif
I'm not confident in correctness of this fix but adding let reset_ssl = 0 before if checks seemed correct. I get little bit excited for opening a PR for this and wrote things very poorly.
PR #20698
echo's the error block I shared but rename operation can be continued
9.2.0750
os: macOS 26.5.1 arm64
terminal: wezterm 20240203-110809-5046fc22
$TERM: tmux-256color
shell: zsh 5.9.1 (arm-apple-darwin25.4.0)
Error detected while processing function <SNR>112_NetrwLocalRename: line 77: E121: Undefined variable: reset_ssl Moving /Users/suqoi/.vim/autoload/netrw.vim to : /Users/suqoi/.vim/autoload/netrw.vim
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()