in a custom language plugin (Bash) I highlight unused symbols using an inspection
holder.registerProblem(nameSymbol, getShortName(), ProblemHighlightType.LIKE_UNUSED_SYMBOL);
If the active color theme does specify a foreground color for functions then this color overrides the unused symbol color.
Is there a way to force the unused symbol format over whatever the theme specifies?
I've tried a PostHighlightingPass, but this seems to slowdown the editor a lot and I was unable to remove the unused symbol formatting once the function is used again.
Does someone know how to do this or maybe there's some code somewhere?