ci: cleanup

This commit is contained in:
Barrett Ruth 2026-03-06 21:36:46 -05:00 committed by Barrett Ruth
parent a99dbd6a68
commit 2f98d0484f

View file

@ -275,9 +275,7 @@ local function snapshot_folds(bufnr)
return
end
for _, winid in ipairs(vim.fn.win_findbuf(bufnr)) do
if _fold_state[winid] ~= nil then
goto continue
end
if _fold_state[winid] == nil then
local state = {}
vim.api.nvim_win_call(winid, function()
for lnum, m in ipairs(_meta) do
@ -289,7 +287,7 @@ local function snapshot_folds(bufnr)
end
end)
_fold_state[winid] = state
::continue::
end
end
end