Re: [viewvc-users] how to set syntax coloration for *.c files?

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
qcg wrote:
> how to set syntax coloration for *.c files?
> 
> after install python-pygments and add
> enable_syntax_coloration = 1
> to configure file,
> see that syntax coloration for *.html is ok.
> 
> but *.c files does not work.
> 
> i tryed `pygmentize test.c` and syntax coloration is ok.

What version control system is in use?  If Subversion, is there an
svn:mime-type property set on your .c files?  ViewVC will not attempt to
parse the file's contents in order to determine how to drive the colorizer
-- it's MIME type driven (either directly via Subversion properties, or
indirectly using mappings based on file extensions).

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2453497

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuMAEEACgkQokEGqRcG/W63FQCaA5jGyS8rxlenPGjrpLs/63Im
KmUAn34aYGAsjyV6SqnGNF8D4QfFahiI
=SqUz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.