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. |
||
|---|---|---|
| .. | ||
| commands.lua | ||
| conflict.lua | ||
| debug.lua | ||
| diff.lua | ||
| fugitive.lua | ||
| git.lua | ||
| gitsigns.lua | ||
| health.lua | ||
| highlight.lua | ||
| init.lua | ||
| lib.lua | ||
| log.lua | ||
| merge.lua | ||
| parser.lua | ||