fix: lint

This commit is contained in:
Lewis Russell 2024-07-03 13:51:28 +01:00
parent 82bc6225e9
commit 39b5b6f48b

View file

@ -40,10 +40,7 @@ local function apply_win_signs0(bufnr, signs, hunks, top, bot, clear, untracked)
-- least one sign. Only do this on the first call after an update when we all
-- the signs have been cleared.
if clear and i == 1 then
signs:add(
bufnr,
Hunks.calc_signs(hunk, next, hunk.added.start, hunk.added.start, untracked)
)
signs:add(bufnr, Hunks.calc_signs(hunk, next, hunk.added.start, hunk.added.start, untracked))
end
if top <= hunk.vend and bot >= hunk.added.start then