> svn diff foo.c | vim -R -
While I like those colors better than the emacs 'greys', keywords like
'int' 'static' 'if' 'else', function names, strings, and comments
still aren't recognized and color coded as if I was viewing a plain .c
file.
When I rename the diff output as a .c file keywords are recognized,
but the new and old code isn't highlighted.
It is probably asking for too much, but, there should be enough colors
to do both at the same time.
On Fri, 29 Oct 2004 17:40:13 -0400, Matt Pounsett <matt.pounsett@cira.ca> wrote:
>
> On Oct 26, 2004, at 18:24, v4r4n wrote:
>
> > I guess no one has bothered to 'colorize' their diff output??
>
> svn diff foo.c | vim -R -
>
> works for me.. I get nicely syntax-highlighted diff output.
>
> Note that this requires that you're using a colour-capable term type,
> and that your editor of choice recognizes that term type and does
> colour syntax highlighting. This should work equally well on a Windows
> machine with win32 vim installed, as it uses the same syntax rules
> everywhere.
>
> --
> Matt Pounsett Canadian Internet Registration Authority
> Technical Support Programmer 350 Sparks Street, Suite 1110
> matt.pounsett@cira.ca Ottawa, Ontario, Canada
> 613.237.5335 ext. 231 http://www.cira.ca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 30 00:36:23 2004