diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-10-29 08:04:42 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-10-29 08:18:03 +0100 |
commit | 59f5eb0065518fffbab6f2ddab2e135f463ac9fc (patch) | |
tree | 950f234c0f2e0c16f4eba8b865696b89feda1174 | |
parent | 39e83fa7cb4486d30f788c3b27594d106d5e76ab (diff) | |
download | rneovim-59f5eb0065518fffbab6f2ddab2e135f463ac9fc.tar.gz rneovim-59f5eb0065518fffbab6f2ddab2e135f463ac9fc.tar.bz2 rneovim-59f5eb0065518fffbab6f2ddab2e135f463ac9fc.zip |
doc: ui.txt
-rw-r--r-- | runtime/doc/ui.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 5306126e7f..4f0006856e 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -238,7 +238,7 @@ Only sent if `ext_cmdline` option is set in |ui-options| content: List of [attrs, string] [[{}, "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 cmdline, and the `pos` is the position of the cursor that in the 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 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"] Hide the cmdline. @@ -293,9 +293,8 @@ Wildmenu Events *ui-wildmenu* Only sent if `ext_wildmenu` option is set in |ui-options| ["wildmenu_show", items] - When `ext_wildmenu` is set to true, nvim will not draw the - wildmenu on the grid, instead when the wildmenu is to be displayed - this update is sent. `items` is an array of the completion items. + Sent when wildmenu (command line completion) is activated. + `items` is an array with the completion items. ["wildmenu_select", selected] An item in the currently displayed wildmenu is selected. `selected` |