mirror of
https://github.com/neovim/neovim.git
synced 2026-06-17 17:21:16 +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.
(cherry picked from commit ce9f4f0369)
This commit is contained in:
committed by
github-actions[bot]
parent
10695f44af
commit
d725ead5ec
@@ -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