Based on #66.
Added selectors to unused variables and the single underscore while keeping the comment selector.
It also matches unused variables ending in exclamation and question mark.
Thanks for this @rkma. The code looks great. But I feel like stylistically, highlighting unused variables as variable.other draws a lot more attention to the unused variable itself. For instance this is what my editor looks like with your PR:
And with the One Dark theme:
One of the reasons that the comment selector was originally used was because unused variables by their nature shouldn't draw your eye. Was there a specific reason that you needed this change?
Add unused and wildcard variables
I thought it would give more context, but I didn't realize it would break depending on the theme, haha. I will change that and remove variable.other.
Sorry about the confusion. This looks great thanks 👍