From 06e4b159ed08b50779e4d4aaab3ccf7a260daeac Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 10 Jan 2026 11:50:19 +0100 Subject: [PATCH] fix(health): show full curl output Problem: The health check for `curl` strips the first line of the version output, which contains potentially useful information. Solution: Only trim empty lines. --- runtime/lua/vim/health/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/vim/health/health.lua b/runtime/lua/vim/health/health.lua index 7dd3a4c042..9fab85582f 100644 --- a/runtime/lua/vim/health/health.lua +++ b/runtime/lua/vim/health/health.lua @@ -452,7 +452,7 @@ local function check_external_tools() local lines = { string.format('curl %s (%s)', curl_version, curl_path) } for line in vim.gsplit(curl_out, '\n', { plain = true }) do - if line ~= '' and not line:match('^curl') then + if line ~= '' then table.insert(lines, line) end end