show always detail-float on <cr>
All checks were successful
tests / test (push) Successful in 8s

This commit is contained in:
2026-01-08 13:47:45 +01:00
parent 118f84c31e
commit 238d5f9634
4 changed files with 98 additions and 2 deletions

View File

@@ -88,6 +88,9 @@ local function help_lines()
" <leader>z Toggle Detail-Float full width",
" <C-c> Close Detail-Float",
" ? Show this help",
"",
"Notes:",
" No output captured -> shows placeholder text",
}
end
@@ -1329,7 +1332,7 @@ function M.open_test_output_at_cursor()
end
end
if type(output) ~= "table" or #output == 0 then
vim.notify("[test-samurai] No output captured for " .. test_name, vim.log.levels.WARN)
open_detail_split({ "", "No output captured" }, "default")
return
end
local border_kind = status and status:lower() or nil