mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
67 stars 23 forks source link

Cannot compile with extend() in LESS #37

Closed blachawk closed 6 years ago

blachawk commented 6 years ago

I'm in Visual Studio Code 1.20.1 I have Easy LESS 1.4.5 I have LESS version 2.7.3 installed

When I attempt to compile the following LESS code....

#em-main {
    nav ul {
      &:extend(#em-main .inline);
      background: blue;
    }
    .inline {
      color: red;
    }
  }

...I get the following CSS results...

#em-main nav ul {
  background: blue;
}
 #em-main .inline {
  color: red;
}

The results are wrong. Pleas help.

blachawk commented 6 years ago

Please close this issue - I found my mistake!