diff options
| author | Shadman <shadmansaleh3@gmail.com> | 2025-08-28 19:33:41 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-28 06:33:41 -0700 |
| commit | bc6737250d61703d07d7a95ba83ebf841f5454b9 (patch) | |
| tree | 9621e77eed441dd06c319b49fc16c96489c89698 /test/functional/lua/luaeval_spec.lua | |
| parent | c10e36fc016cb265026a772571ce0a405df2ab71 (diff) | |
| download | rneovim-bc6737250d61703d07d7a95ba83ebf841f5454b9.tar.gz rneovim-bc6737250d61703d07d7a95ba83ebf841f5454b9.tar.bz2 rneovim-bc6737250d61703d07d7a95ba83ebf841f5454b9.zip | |
fix(progress): simplify ui-event, introduce default presentation #35527
Problem:
`msg_show` has "progress" info (title, status, percent) which is not presented
by default.
Solution:
Format TUI messages as `{title}: {msg}...{percent}%`. This also gets sent to UI.
- With specific formatting sent to UI we can remove the `progress` item from
`msg_show` event. It can be added if needed in the future. Also, having
a default presentation makes the feature more useful.
- For `vim._extui` we just need to implement the replace-msg-with-same-id
behavior.
- If any UI/plugin wants to do anything fancier, they can handle the `Progress`
event.
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
0 files changed, 0 insertions, 0 deletions