mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
docs(ui): cmdline_hide parameters #34049
This commit is contained in:
@ -65,7 +65,7 @@ EVENTS
|
||||
• |vim.ui_attach()| callbacks for |ui-messages| `msg_show` events are executed in
|
||||
|api-fast| context.
|
||||
• New/enhanced arguments in these existing UI events:
|
||||
• `cmdline_hide`: `abort` argument indicating if the cmdline was aborted.
|
||||
• `cmdline_hide`: Includes `level` and `abort` arguments, `abort` argument indicating if the cmdline was aborted.
|
||||
• `cmdline_show`:
|
||||
• Prompts that were previously emitted as `msg_show` events, are now routed
|
||||
through `cmdline_show`.
|
||||
|
@ -775,9 +775,10 @@ For command-line 'wildmenu' UI events, activate |ui-popupmenu|.
|
||||
|
||||
Should be hidden at next cmdline_show.
|
||||
|
||||
["cmdline_hide", abort] ~
|
||||
Hide the cmdline. `abort` is true if the cmdline is hidden after an
|
||||
aborting condition (|c_Esc| or |c_CTRL-C|).
|
||||
["cmdline_hide", level, abort] ~
|
||||
Hide the cmdline. `level` is the nesting level of the cmdline being hidden.
|
||||
`abort` is true if the cmdline is hidden after an aborting condition
|
||||
(|c_Esc| or |c_CTRL-C|).
|
||||
|
||||
["cmdline_block_show", lines] ~
|
||||
Show a block of context to the current command line. For example if
|
||||
|
Reference in New Issue
Block a user