We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add a scanner for one more CSS preprocessor named LESS: http://lesscss.org
Like SCSS (see #137, #93), LESS has CSS-like syntax with some specific "extensions".
CSS syntax highlighting isn't suitable for LESS, because it doesn't concern these "extensions", e.g.:
&
x%x%
// this kind
Example of LESS code:
/* CSS-style comment for mixin */ .border-radius(@value: 5px) { -moz-border-raduis: @value; -webkit-border-raduis: @value; border-raduis: @value; } .parent { @base-color: #ffc; // variable (LESS-style comment) .border-radius(); // mixin call without params -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=@{base-color},endColorstr=@{base-color})'; // string with variable interpolation & > .child { color: @base-color; .border-radius(); // mixin call without params and braces width: ~"expression(this.parentNode.offsetWidth + 'px')"; // syntax escaping } &.subclass { background-color: lighten(@base-color, 10%); // function call .border-radius(10px); // mixin call with params } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please add a scanner for one more CSS preprocessor named LESS: http://lesscss.org
Like SCSS (see #137, #93), LESS has CSS-like syntax with some specific "extensions".
CSS syntax highlighting isn't suitable for LESS, because it doesn't concern these "extensions", e.g.:
&
, meaning "parent selector") are destructed (shown asx%x%
)// this kind
, I mean) are ignoredExample of LESS code:
The text was updated successfully, but these errors were encountered: