-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add syntax highlighting for KDE/Kate #468
Comments
Wow, a lot of this is really difficult, if not impossible. One essential feature for me is different colors for node names and property keys, but that pretty much impossible when considering multiline strings & comments. |
@larsgw LSP supports |
Thanks for the info!
I don't know the extent of support for LSPs in Kate, and I'd like to at least provide some basic syntax highlighting without it. I think it could be shipped by default as well if it's included in https://invent.kde.org/frameworks/syntax-highlighting.
This one has look-aheads, but only using a |
There we go: https://github.com/larsgw/katepart-kdl |
@larsgw make sure to add it to the README and kdl-org.github.io! |
I would like, at some point, to add syntax highlighting for KDE and the Kate editor. They use a custom XML-based format, so I doubt we can easily reuse existing syntax highlighters, though I don't exactly know which of those there are already.
Documentation: https://docs.kde.org/stable5/en/kate/katepart/highlight.html
Example syntax definition for TOML: https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/toml.xml
The text was updated successfully, but these errors were encountered: