fix(highlight): blend_alpha controls line bg and prefix matches gutter (#178)

This commit is contained in:
Barrett Ruth 2026-03-08 14:35:55 -04:00 committed by GitHub
parent e43e6be63d
commit 883b14253b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 137 additions and 43 deletions

View file

@ -612,6 +612,12 @@ function M.highlight_hunk(bufnr, ns, hunk, opts)
})
end
end
elseif opts.highlights.background and is_diff_line then
pcall(vim.api.nvim_buf_set_extmark, bufnr, ns, buf_line, 0, {
end_col = 1,
hl_group = number_hl,
priority = p.syntax,
})
end
if opts.highlights.background and is_diff_line then