neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 2ed6423c7e9d4911343d3e2049908f4b78ec7a55
parent 98536dd78e73da41b9fd4ede3433dd6114139088
Author: altermo <107814000+altermo@users.noreply.github.com>
Date:   Sun, 26 May 2024 12:56:32 +0200

fix(tohtml): replace ipairs with pairs

Diffstat:
Mruntime/lua/tohtml.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)