doc: move ui-wildmenu to deprecated.txt [ci skip]

This commit is contained in:
Justin M. Keyes 2019-03-20 23:09:53 +01:00
parent fbaee922d1
commit d614c7932c
2 changed files with 9 additions and 22 deletions

View File

@ -63,6 +63,15 @@ Options ~
*'vi'*
*'viminfo'* Deprecated alias to 'shada' option.
UI extensions~
*ui-wildmenu* Use `ext_cmdline` and `ext_popupmenu` instead.
Enabled by `ext_wildmenu` |ui-options|.
If `ext_wildmenu` is set, these events are emitted for
backwards-compatibility:
["wildmenu_show", items]
["wildmenu_select", selected]
["wildmenu_hide"]
Variables~
*b:terminal_job_pid* PID of the top-level process in a |:terminal|.
Use `jobpid(&channel)` instead.

View File

@ -648,28 +648,6 @@ compatibility).
["cmdline_block_hide"]
Hide the block.
==============================================================================
Wildmenu Events *ui-wildmenu*
Only sent if `ext_wildmenu` option is set in |ui-options|
Deprecated. When `ext_cmdline` and `ext_popupmenu` are both set,
|ui-popupmenu| events will be used for command-line completion. But if
`ext_wildmenu` is also set, these events are still used for backwards
compatibility. New clients should use `ext_popupmenu` instead.
["wildmenu_show", items]
Activate the wildmenu (command-line completion). `items` is an array
with the completion items.
["wildmenu_select", selected]
Select an item in the current wildmenu. `selected` is a zero-based
index into the array of items from the last wildmenu_show event, or -1
if no item is selected.
["wildmenu_hide"]
Hide the wildmenu.
==============================================================================
Message Events *ui-messages*