lib/rouge/lexers/sass/common.rb in rouge-3.20.0 vs lib/rouge/lexers/sass/common.rb in rouge-3.21.0
- old
+ new
@@ -27,9 +27,10 @@
groups Keyword, Text, Name::Decorator
push :value
end
rule %r/@#{id}/, Keyword, :selector
+ rule %r/&/, Keyword, :selector
# $variable: assignment
rule %r/([$]#{id})([ \t]*)(:)/ do
groups Name::Variable, Text, Punctuation
push :value