blob: 493bae698d3c3dd3b878e594a67c01dd578ef8c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#compdef vared
_arguments -s -S -S -A "-*" : \
'(-a)-A[edit associative array]' \
'(-A)-a[edit array parameter]' \
"-c[create parameter or change type]" \
'-p+[specify left prompt]:prompt' \
'-r+[specify right prompt]:right prompt' \
'-i+[specify initialisation widget]:widget:_widgets' \
'-f+[specify finish widget]:widget:_widgets' \
'-h[allow access to history]' \
'-e[exit on EOF (^D)]' \
'-M+[specify keymap to link to main]:keymap:compadd -a keymaps' \
'-m+[specify keymap to link to vicmd]:keymap:compadd -a keymaps' \
'1:parameter spec:_vars'
|