razetime / bqn-vscode

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

Syntax highlighting breaks with bracket in single quotes #23

Closed saltysylvi closed 1 year ago

saltysylvi commented 1 year ago

image

This happens with all 3 bracket types (parentheses, curly braces, and square brackets) and really bugs me. Many thanks for your work on this excellent extension!

razetime commented 1 year ago

do you have a rainbow brackets extension installed?

saltysylvi commented 1 year ago

It would appear so, since my brackets look like this: image

Yet my extensions pane doesn't show one: image

I'm using VSCodium if that matters: image

mk12 commented 1 year ago

VS Code has had built-in bracket pair colorization since 1.60, enabled by default since 1.67:

razetime commented 1 year ago

with the exact line you've given, I get this: image do you have a larger example? please paste it as text.

razetime commented 1 year ago

seems like this is a problem with the current version on the marketplace, the latest dev version seems to correct it.

saltysylvi commented 1 year ago

Oh okay cool. I'll close this then. Thanks for looking into it. Do you have any plans for when the dev version will be published on the marketplace next?

razetime commented 1 year ago

I will publish a version today. Was planning to delay it till bqncrate support, but now is ok.

saltysylvi commented 1 year ago

Awesome, thanks. Just got the new version and the problem is fixed!