vtst / ow

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

LESS: dashed selector partially composed by a variable a part beggining with a digit causes error in editor #199

Closed orobardet closed 10 years ago

orobardet commented 10 years ago

Related to #152. Appears on font-awesome.less for example.

@fa-css-prefix:       fa;

.@{fa-css-prefix}-lg {    // Works
  font-size: (4em / 3);
}
.@{fa-css-prefix}-2x { // Error in editor, but valid LESS
   font-size: 2em; 
}
.@{fa-css-prefix}2x { // Error in editor, but valid LESS
   font-size: 2em; 
}
.@{fa-css-prefix}-a2x { // Works
   font-size: 2em; 
}
.fa-2x { // Works
   font-size: 2em; 
}

Thanks!