microsoft / microsoft/vscode-css-languageservice

Less Parse Error css-varvalueexpected for Variable Body that starts with `&`

Open
#134 0 comments 2 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Nov 21, 2018.

bug
Dominant language
TypeScript
Stars
384
Forks
217
Avg merge
3d 16h
Merged PRs (30d)
14

Description

This is valid less (you can check with ):

@just-text-type-input-selectors: &:not([type='file']):not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']);

input {
	@{just-text-type-input-selectors} {
		color: blue;
	}
}

It should be parsed correctly, but VSCode shows the error css-varvalueexpected.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.