[PLUGIN] Lessdiff -> colourised diffs via less
Robert Collins
robertc at robertcollins.net
Thu Dec 15 04:16:11 GMT 2005
On Fri, 2005-12-09 at 20:24 -0600, John Arbash Meinel wrote:
> So it looks like if we want autodetect, you can have the first line
> start with '--- ' and the second start with '+++ ', or the first with
> '*** ', and the second '--- '
> Or you can have the first line start with:
> 'diff'
> 'Only in '
> '# It was generated by makepatch '
> And a few others.
>
> So back when we used to use "*** modified foo" instead of "=== modified
> foo" vim did automatically detect the filetype.
> I believe the reason we switched was because *** was used by context diffs.
Yes. Thats a bug in vim, it should be willing to ignore a little prelude
with diffs - CVS et all all issue preludes and patch happily deals.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051215/025e728d/attachment.pgp
More information about the bazaar
mailing list