vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: Variable in selector causes parsing error #152

Closed Ciantic closed 11 years ago

Ciantic commented 11 years ago

These are valid LESS (1.4.0):

@myelement: ~"li";
@{myelement} { // This line fails in editor
  color: red,
}

@count: 4;
> li:nth-child(@{count}n+1) { // This line fails in editor
    clear: both;
}

Both incorrectly gives me error in the editor. It is especially problematic cause the whole editor fails to work correctly after this false-positive.