Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should layer be syntax highlighted? #24

Open
TylerLeonhardt opened this issue Nov 29, 2023 · 3 comments
Open

Should layer be syntax highlighted? #24

TylerLeonhardt opened this issue Nov 29, 2023 · 3 comments

Comments

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Nov 29, 2023

@import url('bootstrap/scss/bootstrap.scss') layer(bootstrap);

Originally posted by @TylerLeonhardt in #180631

@aeschli aeschli transferred this issue from microsoft/vscode Nov 30, 2023
@aeschli
Copy link

aeschli commented Nov 30, 2023

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

@aeschli aeschli changed the title Should @layer be syntax highlighted? Should layer be syntax highlighted? Nov 30, 2023
@aeschli aeschli removed their assignment Nov 30, 2023
@andreamah
Copy link
Contributor

duplicate of #17

@romainmenke
Copy link
Contributor

@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);

@andreamah andreamah reopened this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants