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). Cheers Lex On Wed, 7 Sept 2022 at 22:19, <[email protected]> wrote: > > Hi, > > 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 protected] > To unsubscribe send an email to [email protected] _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]
