diff options
| author | Luuk van Baal <luukvbaal@gmail.com> | 2025-05-23 13:03:28 +0200 |
|---|---|---|
| committer | luukvbaal <luukvbaal@gmail.com> | 2025-05-24 01:02:22 +0200 |
| commit | abb40ecedd92a6155631ce2d0ffba33287a39029 (patch) | |
| tree | 19b0cca40d9552f87e9c5967359e4d95d7fd4895 /runtime/lua/vim/_extui/shared.lua | |
| parent | 7c2b4a0eafbf29ef1e66160302f30c71b88c077c (diff) | |
| download | rneovim-abb40ecedd92a6155631ce2d0ffba33287a39029.tar.gz rneovim-abb40ecedd92a6155631ce2d0ffba33287a39029.tar.bz2 rneovim-abb40ecedd92a6155631ce2d0ffba33287a39029.zip | |
feat(ui): "append" parameter for "msg_show" UI events
Problem: Consecutive "msg_show" events stemming from an `:echon`
command are supposed to be appended without a newline, this
information is not encoded in the "msg_show" event.
Solution: Add an "append" parameter to the "msg_show" event that is set
to true to indicate the message should not start on a new line.
Considered alternative: Emit a newline for the common case instead at the
start of a new message. That way UIs can more closely follow the logic
as it is implemented for the message grid currently. This would be a
breaking change. The "append" parameter seems OK.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions