fix: proper background higlights

This commit is contained in:
Barrett Ruth 2026-02-02 00:35:08 -05:00
parent 935eb8f7ed
commit b3e687c954
3 changed files with 13 additions and 4 deletions

View file

@ -146,7 +146,7 @@ function M.highlight_hunk(bufnr, ns, hunk, opts)
end
if opts.highlights.background and (prefix == '+' or prefix == '-') then
local line_hl = prefix == '+' and 'DiffAdd' or 'DiffDelete'
local line_hl = prefix == '+' and 'FugitiveTsAdd' or 'FugitiveTsDelete'
local extmark_opts = {
line_hl_group = line_hl,
priority = 198,