diff options
author | luukvbaal <luukvbaal@gmail.com> | 2025-03-19 19:04:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 11:04:08 -0700 |
commit | 51853b82bc95a7b62875d07a0ade6cfa0bdd0b5b (patch) | |
tree | 8c4c8d4ae79874bf2b3ebbce9e4b682da71d1cb5 /test/functional/lua/ui_event_spec.lua | |
parent | c48cf1875225310feb8d656cf42c5d817b7e150e (diff) | |
download | rneovim-51853b82bc95a7b62875d07a0ade6cfa0bdd0b5b.tar.gz rneovim-51853b82bc95a7b62875d07a0ade6cfa0bdd0b5b.tar.bz2 rneovim-51853b82bc95a7b62875d07a0ade6cfa0bdd0b5b.zip |
fix(messages): incorrect error message splitting and kind #32990
Problem: Message kind logic for emitting an error message is convoluted
and still results in emitting an unfinished message earlier than
wanted.
Solution: Ensure emsg_multiline() always sets the kind wanted by the caller
and doesn't isn't unset to logic for emitting the source message.
Caller is responsible for making sure multiple message chunks are
not emitted as multiple events by setting `msg_ext_skip_flush`...
Diffstat (limited to 'test/functional/lua/ui_event_spec.lua')
-rw-r--r-- | test/functional/lua/ui_event_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/ui_event_spec.lua b/test/functional/lua/ui_event_spec.lua index 8159a4c91c..5dcb13a7d0 100644 --- a/test/functional/lua/ui_event_spec.lua +++ b/test/functional/lua/ui_event_spec.lua @@ -362,7 +362,7 @@ describe('vim.ui_attach', function() messages = { { content = { { 'Press ENTER or type command to continue', 100, 18 } }, - history = true, + history = false, kind = 'return_prompt', }, }, |