liuderchi / ide-css

:atom: Atom-IDE for CSS, LESS and SCSS language

Home Page:https://atom.io/packages/ide-css

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple conditions in @supports show weird errors

LeaVerou opened this issue · comments

This is a reduced code snippet that errors:

@supports (caret-color) and (color) {
	
}

The error is ) expected.

@LeaVerou thanks for reporting!
This is also related to #7.

Will report to language server repo.

UPDATE:
this modified snippet is passing validation by IDE-CSS

@supports (caret-color: red) and (color: green) {

}

It actually works with my real code as well now. The value-less conditions are probably invalid, not sure where I got those from, lol. Closing issue, thanks for the quick response!