I am trying to get my Trac to support syntax highlighting of Groovy code. I 
am using Trac 0.12 and Pygments 1.5 (just upgraded from 1.4). Groovy 
highlighting is a new feature to 1.5: 
http://pygments.org/docs/lexers/#pygments-lexers-for-jvm-languages.

After upgrading Pygments with easy_install, I can see Pygments 1.5 in 
"about Trac". But when I use wiki with #!groovy and also load .groovy 
files, there is no highlighting. In the wiki, if I use #!text/x-groovy, it 
works. I have tried restarting Apache to cause Trac to totally reload...

The languages Trac can use with Pygments, it's not hard-coded is it? Or is 
the binding for things like "#!java" hard-coded into Trac source code?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/NGNHjqCBiwUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to