Search code examples
godebiankate

Golang text highlighting support to Kate


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.


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.