microsoft / vscode-css

CSS Textmate grammar for syntax highlighting
Other
17 stars 15 forks source link

Should `layer` be syntax highlighted? #24

Open TylerLeonhardt opened 12 months ago

TylerLeonhardt commented 12 months ago
@import url('bootstrap/scss/bootstrap.scss') layer(bootstrap);

Originally posted by @TylerLeonhardt in #180631

aeschli commented 12 months ago

I the css grammar, the layer in layer(bootstrap) is not correctly parsed/highlighted

andreamah commented 11 months ago

duplicate of https://github.com/microsoft/vscode-css/issues/17

romainmenke commented 11 months ago

@andreamah This is not a duplicate of #17

17 is for @layer statements and rules.

@layer {
  /* some css */
}

This issue is for layer functions and keywords in @import statements.

@import "foo.css" layer(base);