Question

How do I add golang text highlighting support to Kate Editor in Debian? I have the go.xml file stored in path $GOROOT/misc/kate. I can't figure out how to add the required highlights to my Kate installation.

Was it helpful?

Solution

You can put go.xml to

~/.kde/share/apps/katepart/syntax/ (user config)

or

/usr/share/kde4/apps/katepart/syntax/ (system config)

if this folder not exists, create it.

OTHER TIPS

on my SUSE the path is: $HOME/.kde4/share/apps/kate (note: not katepart) and I had to add the last "syntax" dir.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top