Subject: Re: [PATCH] _add-zle-hook-widget: New completion.
From: Bart Schaefer <[email-masked]>
To: [email-masked]
Date: Sun, 17 Jul 2016 14:57:18 -0700
List-Id: Zsh Workers List <zsh-workers.zsh.org>

One other remark:

On Jul 17,  3:00pm, Daniel Shahaf wrote:
}
} +    _wanted widgets expl widget compadd -M 'r:|-=* r:|=*' -k widgets && ret=0 && return 0

Better might be

  local -a user_widgets=( ${(k)widgets[(R)user:*]} )
  _wanted widgets expl widget compadd -M 'r:|-=* r:|=*' -a user_widgets && ret=0 && return 0