You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace "default" token with "whitespace" and "identifier" tokens, with fallback to "unknown" token.
Also, change backticked identifiers like `foo` to be classified as "identifier" rather than "string".
This allows for identifiers to be styled independently from strings and whitespace.
It also simplifies getSegments() from 30 lines down to 5, by removing the special-case
code for the "default" token.
Fixes#147.
0 commit comments