I registered two annotators for my custom language plugin, one used for color highlighting and another for syntax error highlighting.
But these two annotators can't work together. If there is an element that shoud be highlighted by both of them, only syntax annotator worked.
this is how it looks like in Java: both color and syntax annotator worked:
but in my plugin, unfortunately, only syntax error annotator worked (the second @Override annotation should be highlighted with bule color too):
As for the color highlight annotator, I use
and for the syntax highlight annotator, I use
Is there any way could help me solve this? Thanks.