vscode-sass-indented icon indicating copy to clipboard operation
vscode-sass-indented copied to clipboard

Syntax highlighting for comma-separated elements with colons

Open pikeas opened this issue 3 years ago • 1 comments

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.

pikeas avatar Jul 27 '22 17:07 pikeas

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.

TheRealSyler avatar Jul 27 '22 18:07 TheRealSyler