diffs.nvim/lua
Barrett Ruth 5199e72bd0 feat(highlight): warn when hunks exceed max_lines
Problem: when a hunk's highlighted lines exceed `max_lines`, syntax
highlighting is silently skipped. Users have no indication why parts
of their diff lack highlighting.

Solution: add `highlights.warn_max_lines` (default `true`) that emits
a `vim.notify` warning with the hunk index and line count vs threshold.
Also change `max_lines` to count only highlighted (`+`/`-`) lines
rather than total body lines including context.
2026-03-10 16:36:50 -04:00
..
diffs feat(highlight): warn when hunks exceed max_lines 2026-03-10 16:36:50 -04:00