Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jul 3, 2024
1 parent 82bc622 commit 39b5b6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lua/gitsigns/manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39b5b6f

Please sign in to comment.