fix(highlight): blend_alpha controls line bg and prefix matches gutter (#178)
This commit is contained in:
parent
e43e6be63d
commit
883b14253b
5 changed files with 137 additions and 43 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue