diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-03-20 23:09:53 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-03-26 19:55:33 +0100 |
commit | d614c7932ca599cb482cd87f9731e1f839dbe295 (patch) | |
tree | 4b081b76e65ab5d04c68cdb54a0332a42fd43099 | |
parent | fbaee922d1182f7bd7b43ddce7cf983b41021d14 (diff) | |
download | rneovim-d614c7932ca599cb482cd87f9731e1f839dbe295.tar.gz rneovim-d614c7932ca599cb482cd87f9731e1f839dbe295.tar.bz2 rneovim-d614c7932ca599cb482cd87f9731e1f839dbe295.zip |
doc: move ui-wildmenu to deprecated.txt [ci skip]
-rw-r--r-- | runtime/doc/deprecated.txt | 9 | ||||
-rw-r--r-- | runtime/doc/ui.txt | 22 |
2 files changed, 9 insertions, 22 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index 4369ad7894..505ee2d7ba 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -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. diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 6976efe60a..ab077397a4 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -649,28 +649,6 @@ compatibility). 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* Only sent if `ext_messages` option is set in |ui-options|. This option implies |