fix(tohtml): replace ipairs with pairs

This commit is contained in:
altermo 2024-05-26 12:56:32 +02:00
parent 98536dd78e
commit 2ed6423c7e

View File

@ -521,7 +521,7 @@ local function _styletable_extmarks_virt_text(state, extmark)
hl_mode = 'blend', hl_mode = 'blend',
hl_group = 'combine', hl_group = 'combine',
} }
for opt, val in ipairs(not_supported) do for opt, val in pairs(not_supported) do
if extmark[4][opt] == val then if extmark[4][opt] == val then
vim.notify_once( vim.notify_once(
('Info(TOhtml): extmark.%s="%s" is not supported, HTML may be incorrect'):format(opt, val) ('Info(TOhtml): extmark.%s="%s" is not supported, HTML may be incorrect'):format(opt, val)