mirror of
https://github.com/lewis6991/gitsigns.nvim
synced 2025-02-21 23:37:18 +00:00
fix: FILE with untracked
This commit is contained in:
parent
61e0130d4b
commit
550e251986
@ -68,7 +68,7 @@ local function apply_win_signs(bufnr, top, bot, clear)
|
||||
return
|
||||
end
|
||||
|
||||
local untracked = bcache.git_obj.object_name == nil
|
||||
local untracked = bcache.git_obj.object_name == nil and bcache.base ~= 'FILE'
|
||||
apply_win_signs0(bufnr, signs_normal, bcache.hunks, top, bot, clear, untracked)
|
||||
if signs_staged then
|
||||
apply_win_signs0(bufnr, signs_staged, bcache.hunks_staged, top, bot, clear, false)
|
||||
|
Loading…
Reference in New Issue
Block a user