Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

修正

  • Loading branch information...
commit f94ea3c0d42151d5281643f870f3db21ac1e052d 1 parent d28bb88
@cellfusion authored
View
6 Languages.xml
@@ -17,9 +17,9 @@
<meta>
<name>LESS</name>
- <author>Joshua Hawxwell</author>
- <download format="git">git://github.com/hawx/LESS.sugar.git</download>
- <url>http://github.com/hawx/LESS.sugar</url>
+ <author>cellfusion:Mk-10</author>
+ <download format="git">git://github.com/cellfusion/LESS.sugar.git</download>
+ <url>http://github.com/cellfusion/LESS.sugar</url>
</meta>
</settings>
View
2  PlaceholderThemes/LESS.css
@@ -69,4 +69,4 @@ mixin.less {
string.quoted.double,string.quoted.single {
color: #da65bb;
background: #ffffea;
-}
+}
View
3  Syntaxes/LESS.xml
@@ -108,7 +108,7 @@
<collection name="block">
<zone name="property-list.block.less">
<starts-with>
- <expression>(.+)\{</expression>
+ <expression>([^@]+)\{</expression>
<capture number="0" name="punctuation.begin"/>
<capture number="1" name="punctuation.definition.mixin.less"/>
</starts-with>
@@ -117,6 +117,7 @@
<capture number="0" name="punctuation.end"/>
</ends-with>
<subzones>
+
<include collection="comments"/>
<include collection="mixin"/>
<include collection="variable-def"/>
View
4 test.less
@@ -208,9 +208,9 @@ percentage(0.5);
/* String interpolation */
@base-url: "http://assets.fnord.com";
#interpolation {
-    background-image: url("@{base-url}/images/bg.png");
+ background-image: url("@{base-url}/images/bg.png");
}
- 
+
/* Escaping */
.class {
  filter: ~"ms:alwaysHasItsOwnSyntax.For.Stuff()";
Please sign in to comment.
Something went wrong with that request. Please try again.