Hi!
I found some minor issue with autopair, it's using variable "i" for iterator, but it's not local. So it warns with WARN_CREATE_GLOBAL and may change global variable:
% setopt WARN_CREATE_GLOBAL; . ~/sh/zsh/autopair.zsh
autopair-init:5: scalar parameter i created globally in function autopair-init
If i define "local i" at line 143, it works perfectly
Hi! I found some minor issue with autopair, it's using variable "i" for iterator, but it's not local. So it warns with WARN_CREATE_GLOBAL and may change global variable:
If i define "local i" at line 143, it works perfectly