TheRealSyler / vscode-sass-indented

Sass indented syntax support for VSCode
https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented
Other
43 stars 9 forks source link

Syntax highlighting for comma-separated elements with colons #102

Open pikeas opened 1 year ago

pikeas commented 1 year ago

Describe the bug

I discovered this bug with:

*, :after, :before
    margin: 0

:after is highlighted blue (will depend on theme) and :before is highlighted white.

After trying a few other combinations, I found a minimal reproduction:

:a, :b

When the final selector in a list starts with a colon, it's highlighted as a property name rather than as part of the list of selectors.

Expected behavior Consistent highlighting for all selectors.

TheRealSyler commented 1 year ago

Thanks for letting me know, i probably wont fix this anytime soon, its not a bug that breaks anything and im too lazy to relearn the textmate grammar stuff, if you want too you can fix it and ill merge the pr and publish a new version.