diffs.nvim/spec
Barrett Ruth 6d38472b39
fix(highlight): skip blending when Normal.bg is nil (transparent)
Problem: colorschemes with `transparent_mode = true` set Normal
with no bg. `compute_highlight_groups` fell back to `0x1a1a1a`
and blended all highlight groups against it, producing wrong
colors. The `ColorScheme` autocmd also failed to overwrite stale
values because every `nvim_set_hl` call used `default = true`.

Solution: detect transparent Normal via `not normal.bg`. When
transparent, pass `bg = normal.bg` (nil) to `DiffsClear` and
use colorscheme DiffAdd/DiffDelete colors directly without
blending. Reset `hl_retry_pending` on `ColorScheme` so the
retry mechanism re-arms after a theme switch.
2026-03-07 21:13:57 -05:00
..
commands_spec.lua feat: unified diff conflict resolution for unmerged files (#99) 2026-02-09 12:21:13 -05:00
conflict_spec.lua fix(conflict)!: change default nav keymaps from ]x/[x to ]c/[c (#132) 2026-02-24 12:07:54 -05:00
context_spec.lua feat(highlight): wire highlights.context into treesitter pipeline (#151) 2026-03-05 11:14:31 -05:00
decoration_provider_spec.lua fix: clear stale gutter extmarks after fugitive section toggle (#139) 2026-02-25 13:20:59 -05:00
diff_spec.lua feat(config): replace algorithm 'auto'/'native' with 'default'/'vscode' 2026-02-06 21:23:40 -05:00
email_quote_spec.lua feat: support email-quoted diffs (#149) 2026-03-05 10:31:19 -05:00
fugitive_spec.lua fix: pre-release cleanup for v0.2.0 (#102) 2026-02-09 15:08:36 -05:00
git_spec.lua feat: add :Gdiff, :Gvdiff, :Ghdiff commands for unified diff view 2026-02-04 19:52:17 -05:00
gitsigns_spec.lua feat: gitsigns blame popup highlighting (#157) 2026-03-06 08:42:02 -05:00
helpers.lua fix(highlight): include treesitter injections 2026-02-07 14:26:11 -05:00
highlight_spec.lua fix(test): use valid hex hash in combined diff fixtures (#171) 2026-03-06 14:12:20 -05:00
init_spec.lua fix(highlight): skip blending when Normal.bg is nil (transparent) 2026-03-07 21:13:57 -05:00
integration_spec.lua refactor(highlight): unified per-line extmark builder (#144) 2026-03-05 09:01:22 -05:00
merge_spec.lua fix(conflict)!: change default nav keymaps from ]x/[x to ]c/[c (#132) 2026-02-24 12:07:54 -05:00
minimal_init.lua feat(test): testing infrastructure 2026-02-01 23:09:05 -05:00
neogit_integration_spec.lua refactor(config): nest integration toggles under integrations namespace (#174) 2026-03-06 14:46:02 -05:00
parser_spec.lua refactor(highlight): unified per-line extmark builder (#144) 2026-03-05 09:01:22 -05:00
read_buffer_spec.lua fix(commands): handle :e on diffs:// buffers via BufReadCmd 2026-02-06 22:21:33 -05:00
ux_spec.lua fix(commands): add diff buffer UX improvements 2026-02-07 16:48:31 -05:00