mirror of
https://github.com/lewis6991/gitsigns.nvim
synced 2024-09-16 14:34:09 +02:00
fix: lint
This commit is contained in:
parent
82bc6225e9
commit
39b5b6f48b
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue