mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-07 18:11:20 +01:00
users/21752: Extend zsh/zleparameter's $widgets' parameter's documentation.
This commit is contained in:
parent
db9f0d3b3e
commit
18d676ff19
2 changed files with 12 additions and 7 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2016-07-17 Daniel Shahaf <d.s@daniel.shahaf.name>
|
2016-07-17 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||||
|
|
||||||
|
* users/21752: Doc/Zsh/mod_zleparameter.yo: Extend
|
||||||
|
zsh/zleparameter's $widgets' parameter's documentation.
|
||||||
|
|
||||||
* unposted (cf. users/21737):: Completion/Unix/Command/_git:
|
* unposted (cf. users/21737):: Completion/Unix/Command/_git:
|
||||||
_git-subtree: Record technical debt in comment.
|
_git-subtree: Record technical debt in comment.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,14 +15,16 @@ This array contains the names of the keymaps currently defined.
|
||||||
)
|
)
|
||||||
vindex(widgets)
|
vindex(widgets)
|
||||||
item(tt(widgets))(
|
item(tt(widgets))(
|
||||||
This associative array contains one entry per widget defined. The name
|
This associative array contains one entry per widget. The name
|
||||||
of the widget is the key and the value gives information about the
|
of the widget is the key and the value gives information about the
|
||||||
widget. It is either the string `tt(builtin)' for builtin widgets, a
|
widget. It is either
|
||||||
string of the form `tt(user:)var(name)' for user-defined widgets,
|
the string `tt(builtin)' for builtin widgets,
|
||||||
where var(name) is the name of the shell function implementing the
|
a string of the form `tt(user:)var(name)' for user-defined widgets,
|
||||||
widget, or it is a string of the form
|
where var(name) is the name of the shell function implementing the widget,
|
||||||
`tt(completion:)var(type)tt(:)var(name)', for completion widgets. In
|
a string of the form `tt(completion:)var(type)tt(:)var(name)'
|
||||||
the last case var(type) is the name of the builtin widgets the
|
for completion widgets,
|
||||||
|
or a null value if the widget is not yet fully defined.
|
||||||
|
In the penultimate case, var(type) is the name of the builtin widget the
|
||||||
completion widget imitates in its behavior and var(name) is the name
|
completion widget imitates in its behavior and var(name) is the name
|
||||||
of the shell function implementing the completion widget.
|
of the shell function implementing the completion widget.
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue