From 54d5f8e3632ca3698d90662d49d1320f91827078 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 28 Jul 2016 16:12:59 +0200 Subject: 38956: factor out zle widget completion into its own function --- Completion/Zsh/Command/_vared | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Zsh/Command/_vared') diff --git a/Completion/Zsh/Command/_vared b/Completion/Zsh/Command/_vared index 2bcc87bc8..aba64880a 100644 --- a/Completion/Zsh/Command/_vared +++ b/Completion/Zsh/Command/_vared @@ -6,8 +6,8 @@ _arguments -s -A "-*" \ "-c[create parameter or change type]" \ '-p+[specify left prompt]:prompt' \ '-r+[specify right prompt]:right prompt' \ - '-i+[specify initialisation widget]:widget:compadd -M "r\:|-=* r\:|=*" -k widgets' \ - '-f+[specify finish widget]:widget:compadd -M "r\:|-=* r\:|=*" -k widgets' \ + '-i+[specify initialisation widget]:widget:_widgets' \ + '-f+[specify finish widget]:widget:_widgets' \ '-h[allow access to history]' \ '-e[exit on EOF (^D)]' \ '1:parameter spec:_vars' -- cgit 1.4.1