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

css does not support :has(~ and :has(+ syntax #315

Open
RoenLie opened this issue Jul 24, 2023 · 3 comments
Open

css does not support :has(~ and :has(+ syntax #315

RoenLie opened this issue Jul 24, 2023 · 3 comments

Comments

@RoenLie
Copy link

RoenLie commented Jul 24, 2023

This is newer but valid css, lit plugin does not accept it.

image

@andrewgtibbetts
Copy link

#362

@itsmebasti
Copy link

this was solved in the dependency already:
microsoft/vscode-css-languageservice#279
Not sure how well this analyzer is still supported, but updating the dependencies would solve it in my understanding

@itsmebasti
Copy link

itsmebasti commented Sep 4, 2024

Meanwhile I added an override to my package.json to overcome this:

  "devDependencies": {
    "ts-lit-plugin": "^2.0.2",
    "typescript": "~5.5.3",
    "vite": "^5.3.4"
  },
  "overrides": {
    "ts-lit-plugin": {
      "lit-analyzer": {
        "vscode-css-languageservice": "latest"
      }
    }
  }

make sure to remove your lock file, the node_modules and run npm install again.

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

3 participants