Highlighting too aggressive - allow me to choose what to highlight
Closed this issue · 3 comments
I find the current highlighting a bit too much aggressive. In some cases it highlights things which are not colors at all.
Short hex numbers in Scala sources:
Decimal numeric literals in Scala sources:
I would like to have hex colors highlighted only when starting with 0x or #.
I would also prefer not to have highlighted words which are color names, like blue
. This is a bit annoying when the same word means a color or an object, like orange
or pumpkin
. I see this in data configuration YAML files, but I get it can happen anywhere.
Describe the solution you'd like
I would like settings which would allow me to tell which color notations to highlight and which not.
Describe alternatives you've considered
Another option would be not to highlight short numbers and color names at all, which would suit me, but this is perhaps not acceptable for other users.
Fair enough. Unfortunately I have no time to work on this project at all, so I currently have no indication when I'll be able to do so.
I will try if perhaps I would be able to prepare a PR.
will be available next relese through settings