doc: ui.txt

This commit is contained in:
Björn Linse 2017-10-29 08:04:42 +01:00
parent 39e83fa7cb
commit 59f5eb0065

View File

@ -238,7 +238,7 @@ Only sent if `ext_cmdline` option is set in |ui-options|
content: List of [attrs, string] content: List of [attrs, string]
[[{}, "t"], [attrs, "est"], ...] [[{}, "t"], [attrs, "est"], ...]
Triggered when the user types in the cmdline. Triggered when the cmdline is displayed or changed.
The `content` is the full content that should be displayed in the The `content` is the full content that should be displayed in the
cmdline, and the `pos` is the position of the cursor that in the cmdline, and the `pos` is the position of the cursor that in the
cmdline. The content is divided into chunks with different highlight cmdline. The content is divided into chunks with different highlight
@ -266,7 +266,7 @@ Only sent if `ext_cmdline` option is set in |ui-options|
`shift` is true the text after the cursor should be shifted, otherwise `shift` is true the text after the cursor should be shifted, otherwise
it should overwrite the char at the cursor. it should overwrite the char at the cursor.
Should be hidden at next cmdline_pos. Should be hidden at next cmdline_show or cmdline_pos.
["cmdline_hide"] ["cmdline_hide"]
Hide the cmdline. Hide the cmdline.
@ -293,9 +293,8 @@ Wildmenu Events *ui-wildmenu*
Only sent if `ext_wildmenu` option is set in |ui-options| Only sent if `ext_wildmenu` option is set in |ui-options|
["wildmenu_show", items] ["wildmenu_show", items]
When `ext_wildmenu` is set to true, nvim will not draw the Sent when wildmenu (command line completion) is activated.
wildmenu on the grid, instead when the wildmenu is to be displayed `items` is an array with the completion items.
this update is sent. `items` is an array of the completion items.
["wildmenu_select", selected] ["wildmenu_select", selected]
An item in the currently displayed wildmenu is selected. `selected` An item in the currently displayed wildmenu is selected. `selected`