[PLUGIN] Lessdiff -> colourised diffs via less

Wouter van Heyst larstiq at larstiq.dyndns.org
Fri Dec 9 23:20:14 GMT 2005


On Fri, Dec 09, 2005 at 04:51:28PM -0600, Michael Ellerman wrote:
<snip>
> > And a small hack on that to run it through 'vim -c "set syntax=diff" -'
> > instead of PAGER. Next, trying to figure out why vim doesn't recognise
> > bzr diff output currently.
> 
> Could it be the colour cruft that colourdiff adds? Less barfs on that gear 
> unless you specifiy -R.

No, it does the exact same thing with plain 'bzr diff'. I believe it is
the format of the diff output being subtly different.

> Let me know if you get it working, we could come up with something less hacky, 
> and environment variable or something to choose vim.

Will do.

Wouter van Heyst




More information about the bazaar mailing list