Fw: TypeScript Syntax in Kate
My Email
gmmarcus at outlook.my
Sat Feb 3 18:51:25 UTC 2018
Hi Burkhard,
My replies below ...
________________________________
From: KWrite-Devel <kwrite-devel-bounces at kde.org> on behalf of Burkhard Lück <lueck at hube-lueck.de>
Sent: Saturday, February 3, 2018 2:19 AM
To: kwrite-devel at kde.org
Subject: Re: Fw: TypeScript Syntax in Kate
Am Freitag, 2. Februar 2018, 07:30:18 CET schrieb My Email:
>
> but i could not get it picked up by Kate. I have tried to get it to work
> with Kate v16 and Kate v17 but to no avail.
> docs.kde.org/trunk5/en/applications/katepart/highlight.html<https://docs.kde.org/trunk5/en/applications/katepart/highlight.html:>
<https://docs.kde.org/trunk5/en/applications/katepart/highlight.html:><https://docs.kde.org/trunk5/en/applications/katepart/highlight.html:>
Read the info at the link above.
> Custom .xml highlight definition files are located in org.kde.syntax-
> highlighting/syntax/ in your user folder found with
> qtpaths --paths GenericDataLocation
> which usually is $HOME/.local
Running;
#qtpaths --paths GenericDataLocation
gave;
/home/username/.local/share:/usr/share/xfce:/usr/share:/opt/kf5/share
This would indicate that the paths below were correct ?
kate4 ->/usr/share/kde4/apps/katepart/syntax/typescript.xml
kate5 -> /home/username/.local/share/katepart5/syntax/typescript.xml
> --
> Burkhard Lück
I am thinking that there could be an error in the typescript.xml located at https://github.com/PrettyFlower/KateTypeScriptSyntaxHighlighting
as it was last worked on in 2012. KDE / Kate has changed significantly during that time ?
Anybody has a more recent version ?
Rgds,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180203/ffd61164/attachment.html>
More information about the KWrite-Devel
mailing list