fix lsp info dialog

This commit is contained in:
2026-06-27 19:13:01 +02:00
parent 3b707ada11
commit 44f2c9f887
+4 -1
View File
@@ -54,7 +54,7 @@ local function run_healthcheck(section)
end end
if not health_buf then if not health_buf then
return { "Could not capture :checkhealth vim.lsp output" } return { "Could not capture :checkhealth " .. section .. " output" }
end end
-- Read lines -- Read lines
@@ -67,6 +67,9 @@ local function run_healthcheck(section)
end end
end end
-- Close the buffer
vim.api.nvim_buf_delete(health_buf, { force = true })
return lines return lines
end end