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. |
||
|---|---|---|
| .. | ||
| diffs.nvim.txt | ||