diffs.nvim/lua
Barrett Ruth a7d0c04ccf fix(highlight): make intra-line bg visible under line backgrounds
Problem: `line_hl_group` bg unconditionally overrides `hl_group` bg
regardless of priority (neovim/neovim#31151). `DiffsAddText`/
`DiffsDeleteText` at p201 were invisible under `DiffsAdd`/`DiffsDelete`
`line_hl_group` at p200 because they operate on separate stacking layers.

Solution: replace `line_hl_group` with `hl_group` + `hl_eol` +
`end_row` for line backgrounds, putting them on the same layer as
intra-line highlights so priority governs stacking. Split
`number_hl_group` into a separate extmark to prevent gutter bleed via
`end_row`. Use raw `DiffAdd.bg`/`DiffDelete.bg` for `DiffsAddText`/
`DiffsDeleteText` instead of alpha-blending toward Normal.bg, which
produced indistinguishable colors on dark themes.
2026-03-13 21:13:57 -04:00
..
diffs fix(highlight): make intra-line bg visible under line backgrounds 2026-03-13 21:13:57 -04:00