rubo77 rubo77 - 11 months ago 87
Groovy Question

Groovy syntax highlighting for Kate

Is there a way to add syntax highlighting for the Groovy language in


Or is there a quite similar language, that will work as well?

Answer Source

Yes, you can put this xml file under /usr/share/apps/katepart/syntax/ if you want it to be installed at system's level, otherwise in ~/.kde4/share/apps/katepart/syntax/ if you want it at user's level:

mkdir -p ~/.kde/share/apps/katepart/syntax
cd ~/.kde/share/apps/katepart/syntax

This works for KDE4. For other versions you might follow this blog post.