lib/rouge/lexers/sass/common.rb in rouge-1.1.0 vs lib/rouge/lexers/sass/common.rb in rouge-1.2.0

- old
+ new

@@ -6,26 +6,26 @@ state :content_common do rule /@for\b/, Keyword, :for rule /@(debug|warn|if|while)/, Keyword, :value rule /(@mixin)(\s+)(#{id})/ do - group Keyword; group Text; group Name::Function + groups Keyword, Text, Name::Function push :value end rule /@extend\b/, Keyword, :selector rule /(@include)(\s+)(#{id})/ do - group Keyword; group Text; group Name::Decorator + groups Keyword, Text, Name::Decorator push :value end rule /@#{id}/, Keyword, :selector # $variable: assignment rule /([$]#{id})([ \t]*)(:)/ do - group Name::Variable; group Text; group Punctuation + groups Name::Variable, Text, Punctuation push :value end end state :value do @@ -155,10 +155,10 @@ state :attribute do mixin :attr_common rule /([ \t]*)(:)/ do - group Text; group Punctuation + groups Text, Punctuation push :value end end state :inline_comment do