diffs.nvim/lua
Barrett Ruth 554b465a0d fix(highlight): use blend_alpha for line backgrounds
Problem: `blend_alpha` was ignored for line backgrounds — transparent
path used raw `add_bg`, non-transparent hardcoded 0.4. `DiffsClear.bg`
was nil on transparent themes, letting native TS bg bleed through.
Gutter Nr fg was blended instead of raw.

Solution: collapse transparent/non-transparent into a single blend path
using `blend_alpha` for line bg and `alpha + 0.3` for intra-line. Use
raw `add_fg`/`del_fg` for gutter Nr fg. Set `DiffsClear.bg` to the
resolved bg fallback. Apply same pattern to conflict regions.
2026-03-08 14:34:03 -04:00
..
diffs fix(highlight): use blend_alpha for line backgrounds 2026-03-08 14:34:03 -04:00