diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2024-12-22 13:21:57 +0100 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2024-12-23 00:37:28 +0100 |
commit | a10636fbe7bb4dba45c42c64548e5e32fe8f8d12 (patch) | |
tree | a6fb8278c199c9c94a75e60419ad3700f33e00d1 /runtime/doc/ui.txt | |
parent | 394f69a25dc32c5b101ba2d34ac6376b0c75b2a2 (diff) | |
download | rneovim-a10636fbe7bb4dba45c42c64548e5e32fe8f8d12.tar.gz rneovim-a10636fbe7bb4dba45c42c64548e5e32fe8f8d12.tar.bz2 rneovim-a10636fbe7bb4dba45c42c64548e5e32fe8f8d12.zip |
feat(ui): specify whether msg_show event is added to history
Pass along whether message in msg_show event is added to the internal
:messages history.
Diffstat (limited to 'runtime/doc/ui.txt')
-rw-r--r-- | runtime/doc/ui.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 0082e9d76b..1b11565eeb 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -784,7 +784,7 @@ will be set to zero, but can be changed and used for the replacing cmdline or message window. Cmdline state is emitted as |ui-cmdline| events, which the UI must handle. -["msg_show", kind, content, replace_last] ~ +["msg_show", kind, content, replace_last, history] ~ Display a message to the user. kind @@ -827,6 +827,9 @@ must handle. true: Replace the message in the most-recent `msg_show` call, but any other visible message should still remain. + history + True if the message was added to the |:messages| history. + ["msg_clear"] ~ Clear all messages currently displayed by "msg_show". (Messages sent by other "msg_" events below will not be affected). |