aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/tohtml.lua
diff options
context:
space:
mode:
authoraltermo <107814000+altermo@users.noreply.github.com>2024-05-26 12:56:32 +0200
committeraltermo <107814000+altermo@users.noreply.github.com>2024-05-26 12:56:32 +0200
commit2ed6423c7e9d4911343d3e2049908f4b78ec7a55 (patch)
tree39d23e2a99354324ee6c65898b2f219ab3edebf1 /runtime/lua/tohtml.lua
parent98536dd78e73da41b9fd4ede3433dd6114139088 (diff)
downloadrneovim-2ed6423c7e9d4911343d3e2049908f4b78ec7a55.tar.gz
rneovim-2ed6423c7e9d4911343d3e2049908f4b78ec7a55.tar.bz2
rneovim-2ed6423c7e9d4911343d3e2049908f4b78ec7a55.zip
fix(tohtml): replace ipairs with pairs
Diffstat (limited to 'runtime/lua/tohtml.lua')
-rw-r--r--runtime/lua/tohtml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/tohtml.lua b/runtime/lua/tohtml.lua
index 505de720ba..5a6fc77e5c 100644
--- a/runtime/lua/tohtml.lua
+++ b/runtime/lua/tohtml.lua
@@ -521,7 +521,7 @@ local function _styletable_extmarks_virt_text(state, extmark)
hl_mode = 'blend',
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
vim.notify_once(
('Info(TOhtml): extmark.%s="%s" is not supported, HTML may be incorrect'):format(opt, val)