fix(ansi): annotate highlights too
This commit is contained in:
parent
1974addbd2
commit
db98153b11
4 changed files with 10 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
---@field expected string
|
||||
---@field status "pending"|"pass"|"fail"|"running"|"timeout"
|
||||
---@field actual string?
|
||||
---@field actual_highlights? any[]
|
||||
---@field actual_highlights? Highlight[]
|
||||
---@field time_ms number?
|
||||
---@field error string?
|
||||
---@field stderr string?
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ local function data_row(c, idx, tc, is_current, test_state)
|
|||
end
|
||||
|
||||
---@param test_state RunPanelState
|
||||
---@return string[], any[] lines and highlight positions
|
||||
---@return string[], Highlight[] lines and highlight positions
|
||||
function M.render_test_list(test_state)
|
||||
local lines, highlights = {}, {}
|
||||
local c = compute_cols(test_state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue