Skip to content

Properties are highlighted as cssProp even when used as values #3

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

Open
jsit opened this issue Aug 5, 2020 · 0 comments
Open

Properties are highlighted as cssProp even when used as values #3

jsit opened this issue Aug 5, 2020 · 0 comments

Comments

@jsit
Copy link
Member

jsit commented Aug 5, 2020

Take the following CSS:

div {
  background-color: blue;
  color: white;
  transition: 0.2s background-color, color ease-in-out;
}

In the second line, background-color is a CSS property being assigned a value. In the fourth line, background-color is part of the value of transition, yet both are assigned to the group cssBackgroundProp.

They're related, but different things, and as such it would be nice if they had different highlight groups assigned to them.

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

1 participant