Monday, 23 January 2017 | Dominik Haumann | Tags:
Recently, the KSyntaxHighlighting framework was added to the KDE Frameworks 5.29 release. And starting with KDE Frameworks 5.29, KTextEditor depends on KSyntaxHighlighting. This also means that KTextEditor now queries KSyntaxHighlighting for available xml highlighting files. As such, the location for syntax highlighting files changed from $HOME/.local/share/katepart5/syntax to
$HOME/.local/share/org.kde.syntax-highlighting/syntax So if you want to add your own syntax highlighting files to Kate/KDevelop, then you have to use the new location.
By the way, in former times, all syntax highlighting files were located somewhere in /usr/share/.