-
Notifications
You must be signed in to change notification settings - Fork 17
Description
The README currently states that:
Lines 43 to 48 in 0d7c8b1
| Installation | |
| ------------ | |
| Copy the xml files into: | |
| - Either KDE4: `~/.kde4/share/apps/katepart/syntax` | |
| - Or KF5: `~/.local/share/katepart5/syntax` |
I'm using Kubuntu 23.10 with Kate 23.08.1 and KDE 5.110.0, and I don't have a ~/.kde4 nor a ~/.local/share/katepart5 dir.
By looking at the Kate documentation, syntax files should either go in $HOME/.local/share/org.kde.syntax-highlighting/syntax/ or /usr/share/org.kde.syntax-highlighting/syntax/ (at least on Linux).
I was able to install the xml files by doing:
$ cd .local/share/org.kde.syntax-highlighting/ # this dir already existed on my system
$ mkdir syntax # this dir didn't exist, so I created it
$ cd syntax
$ wget https://raw.githubusercontent.com/mtorromeo/kate-syntax-files/master/XXXXX.xmlAfter restarting Kate the new syntax highlight files worked.
I suggest updating the README by adding these paths and/or linking to the Kate docs. I'm not sure if the paths currently listed are still used or if they should be removed. Mentioning that the syntax dir might need to be create would be helpful too. I can create a PR if you tell me what to keep/update/remove.