Syntax highlighting is provided by the lexers from the Lexilla project. If you can find an existing lexer that will do what you want you can use it in your custom filetype.
If not you will have to create your own lexer in C++ (probably by modifying an existing one).
On Wed, 7 Sept 2022 at 22:19, firstname.lastname@example.org wrote:
I try to make a syntax highlightning for a special filetype. Some Keywords start with a plus (e.g. +KEYWORD) and some starting with a star (e.g. *KEYWORD). and my comments starts with an $ symbol.
does any óne has an example how to do this? In gedit I used mime-type coloring.
Thanks Andreas _______________________________________________ Users mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org