mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 19:11:52 +00:00
fix(messages): reset redirection message column after :echon #39472
Problem: Message redirection column for captured output is not reset
after :echon since (4260f73, e63346df).
Solution: Ensure msg_ext_append is set before the kind with :echon.
This commit is contained in:
@@ -442,6 +442,8 @@ describe('API', function()
|
||||
exec_lua('vim.ui_attach(1, { ext_messages = true }, function() end)')
|
||||
api.nvim_exec2('hi VisualNC', { output = true })
|
||||
eq('VisualNC xxx cleared', api.nvim_exec2('hi VisualNC', { output = true }).output)
|
||||
api.nvim_exec2('echon 1234567', { output = true })
|
||||
eq('VisualNC xxx cleared', api.nvim_exec2('hi VisualNC', { output = true }).output)
|
||||
end)
|
||||
|
||||
it('captures multi-chunk err nvim_echo() #36883', function()
|
||||
|
||||
Reference in New Issue
Block a user