Mark special unknown variable in LESS with special color

I have unknown variable @result marked with red. Generally that's normal but in this case I want to mark it with green. How to do that?

 

0
5 comments

Unfortunately there is no way to override the error highlighting color for specific variables.

0

NP, I will live with this 😀

0

Max Alekseyev 

Try Better Highlights plugin. It states that the Paid version can highlight with custom color any element (regex based etc). May work for your case (never tried it myself so cannot say much).

[PAID] Highlight anything by RegExp.

 

1

Thank's a lot, but pay $1.50 every month for coloring one variable that's too much )

0

Thanks for this wonderful information.

 

 

newjetnet

-1

Please sign in to leave a comment.