razetime / bqn-vscode

BQN programming language vscode plugin (symbol input, syntax highlighting)
MIT License
22 stars 6 forks source link

Minor discoloring with ‿ #15

Closed Brian-ED closed 1 year ago

Brian-ED commented 1 year ago

image First line has first Hello being blue, second is white, and _hello is also white. Second and third line show that for underscore names it's broken in a similar way.

theoretically you should write arrays of vars with lowercase and no underscores anyways, but sometimes i want to signify that an array of values will be used as functions, or just a specific value.

razetime commented 1 year ago

seems like is not recognized as a word boundary. It's a weird unicode thing, probably, I'll add a special case for stranding.

Please paste the exact text you used when you have an issue with highlighting.

razetime commented 1 year ago

from my tests this should be correct. The changes are on the marketplace, please do tell me if it works correctly on v0.1.2.