On 08/11/11 at 08:19 AM, Pandu Poluan wrote: > That said, reverting to plain diff will cause me to lose colorization, no? > Hmmm... time to whup up some vim syntax script, then...
I don't use vimpager, but is it not possible to just issue set filetype=diff from within for syntax highlighting? Also upon further inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so you may want to update if you're running an older version. [1] http://www.vim.org/scripts/script.php?script_id=1723 -- Scott Stevenson
signature.asc
Description: Digital signature