mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +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
|
• |vim.ui_attach()| callbacks for |ui-messages| `msg_show` events are executed in
|
||||||
|api-fast| context.
|
|api-fast| context.
|
||||||
• New/enhanced arguments in these existing UI events:
|
• 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`:
|
• `cmdline_show`:
|
||||||
• Prompts that were previously emitted as `msg_show` events, are now routed
|
• Prompts that were previously emitted as `msg_show` events, are now routed
|
||||||
through `cmdline_show`.
|
through `cmdline_show`.
|
||||||
|
|||||||
@@ -775,9 +775,10 @@ For command-line 'wildmenu' UI events, activate |ui-popupmenu|.
|
|||||||
|
|
||||||
Should be hidden at next cmdline_show.
|
Should be hidden at next cmdline_show.
|
||||||
|
|
||||||
["cmdline_hide", abort] ~
|
["cmdline_hide", level, abort] ~
|
||||||
Hide the cmdline. `abort` is true if the cmdline is hidden after an
|
Hide the cmdline. `level` is the nesting level of the cmdline being hidden.
|
||||||
aborting condition (|c_Esc| or |c_CTRL-C|).
|
`abort` is true if the cmdline is hidden after an aborting condition
|
||||||
|
(|c_Esc| or |c_CTRL-C|).
|
||||||
|
|
||||||
["cmdline_block_show", lines] ~
|
["cmdline_block_show", lines] ~
|
||||||
Show a block of context to the current command line. For example if
|
Show a block of context to the current command line. For example if
|
||||||
|
|||||||
Reference in New Issue
Block a user