fix(scrapers): fix
This commit is contained in:
parent
18dbcd43d2
commit
b9a2c7a4ff
7 changed files with 84 additions and 28 deletions
|
|
@ -25,7 +25,7 @@ end
|
|||
---@return AnsiParseResult
|
||||
function M.parse_ansi_text(text)
|
||||
local clean_text = text:gsub('\027%[[%d;]*[a-zA-Z]', '')
|
||||
local lines = vim.split(clean_text, '\n', { plain = true, trimempty = false })
|
||||
local lines = vim.split(clean_text, '\n', { plain = true })
|
||||
|
||||
local highlights = {}
|
||||
local line_num = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue