Polymer/vscode-plugin

@apply coloring is wrong

Closed this issue · 3 comments

akc42 commented

Not sure if this is polymer-ide or not, but in my css I have a number of @apply for flex layout. The first one (in a :host selector) is fine, all the others are colored white, except for the 'y' which is colored blue
(I am using the monokai theme).

The @apply in the :host selector doesn't color the --layout-vertical blue whereas it does in all the others occurances.

Would you mind including a screenshot?

akc42 commented

screenshot_gitub_vscode-plugin 34

So I looked into this a bit more, this is an issue with the the css tmbundle grammar. I think textmate/css.tmbundle#27 is the canonical issue.

We don't ship any syntax highlighting as part of this plugin, and I think upstream is the proper place to fix this.