Sample Header Ad - 728x90

Change directory for Kate syntax highlighting files

9 votes
3 answers
11728 views

I'm running Standard Debian Wheezy with KDE 4.8.4 and Kate 3.8.4.

The Kate text editor's syntax highlighting files are located in:

/usr/share/kde4/apps/katepart/syntax

If I run

kde4-config --prefix

this gives

/usr

and $KDEDIR is empty. This results in that only XML files in the upper direcory are used for highlighting.

In several other forums, I saw that it should work to create a folder "syntax" in

~/.kde/share/apps/katepart/ If I put syntax-highlighting files there on my system, they appear to be ignored. How can someone change/set the directory for the syntax-highlighting files used by *Kate* to an arbitrary directory?
Asked by Chrispie (3893 rep)
Jan 5, 2014, 12:58 PM
Last activity: Sep 15, 2022, 06:55 AM