Closed YuriGor closed 5 years ago
I could do like the builtin syntax and color it as constant.other.character-class
, would that be fine? Do you know a better scope for this case?
i am total noob in the sphere of syntax highlighting and such things,
but may be you need to same scope as used for other selectors like \d \s \W and soon
In native JS/monokai this entries colored with purple color
I used the same scope as the one being used by the builtin syntax; https://github.com/borela/naomi/releases/tag/v4.2.7
Tested, works flawlessly.
Look at
qq.+
dot colored as a string, not as regex selector.