mirror of
https://github.com/neovim/neovim.git
synced 2026-02-19 18:08:38 +00:00
fix(messages): message not flushed at end of command #37904
Problem: Logic determining messages belonging to the last command to
show with "g<" does not flush pending messages. This can
result in clearing the temporary message history before a
message still belonging to the previous command was emitted.
Solution: Flush pending messages when marking the end of messages
belonging to previous command.
This commit is contained in:
@@ -439,8 +439,8 @@ describe('vim.ui_attach', function()
|
||||
|
|
||||
{1:~ }|*2
|
||||
{3: }|
|
||||
{9:Lua callback:} |
|
||||
{9:[string "<nvim>"]:3: foo} |
|
||||
{9:Error in "msg_show" UI event handler (ns=(UNKNOWN PLUGIN)):} |
|
||||
{9:Lua: [string "<nvim>"]:3: foo} |
|
||||
{9:stack traceback:} |
|
||||
{9: [C]: in function 'error'} |
|
||||
{9: [string "<nvim>"]:3: in function <[string "<nvim>"]:1>} |
|
||||
|
||||
Reference in New Issue
Block a user