neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e9d03b92b67ca8c798c95efe9b6abc7dae0666b3
parent 96e1acfa427faab91f4479fde76b7cabbbcd9127
Author: Olivia Kinnear <git@superatomic.dev>
Date:   Mon, 26 Jan 2026 15:15:47 -0600

fix(health): redraw after emitting progress message #37567

Problem:
`vim.cmd.redraw()` is not called after displaying a progress message, so
vim will display progress for the previous health check, not the current
one.

Solution:
Call `vim.cmd.redraw()` so that the correct progress message is displayed.
Diffstat:
Mruntime/lua/vim/health.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua @@ -386,6 +386,7 @@ local function progress_report(len) -- extui/ui2 shows all messages at once after the healthchecks are finished. -- This 1ms wait ensures the messages are shown separately vim.wait(1) + vim.cmd.redraw() end end @@ -493,7 +494,6 @@ function M._check(mods, plugin_names) s_output[#s_output + 1] = '' s_output = vim.list_extend(header, s_output) vim.fn.append(vim.fn.line('$'), s_output) - vim.cmd.redraw() end progress_msg('success', 0, 'checks done')