We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e3d2f commit 569865fCopy full SHA for 569865f
1 file changed
lib/rouge/lexers/sass/common.rb
@@ -156,12 +156,9 @@ class SassCommon < RegexLexer
156
157
state :attr_common do
158
mixin :has_interp
159
- rule id do |m|
160
- if CSS.properties.include? m[0]
161
- token Name::Label
162
- else
163
- token Name::Attribute
164
- end
+ keywords id do
+ rule CSS::PROPERTIES, Name::Label
+ default Name::Attribute
165
end
166
167
0 commit comments