Literals are not highlighted nicely in objects
theneva opened this issue · 2 comments
theneva commented
First of all, thank you for this plugin!
I have a suggestion for highlighting in objects. As it stands, everything is purple except non-string keys:
The problem becomes especially apparent when the object keys are also strings, as they become the same colour as everything else.
It would be great if the highlighting somehow differentiated between keys, literals (true
, false
, 10
, 4.2
), and strings. For example, the default highlighting "solves" this problem by simply ignoring numbers:
An even better solution would be greatly appreciated, though.
isRuslan commented
@theneva Thanks, for the suggestion!
I will check all around this issue and point here what can we do for this.
theneva commented
Sweet!