vim-es6
vim-es6 copied to clipboard
Literals are not highlighted nicely in objects
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.
@theneva Thanks, for the suggestion! I will check all around this issue and point here what can we do for this.
Sweet!