lib/rouge/lexers/yaml.rb in rouge-4.0.0 vs lib/rouge/lexers/yaml.rb in rouge-4.0.1

- old
+ new

@@ -173,10 +173,10 @@ rule %r/\*[\p{L}\p{Nl}\p{Nd}_-]+/, Name::Variable end state :block_nodes do # implicit key - rule %r/([^#,:?\[\]{}"'\n]+)(:)(?=\s|$)/ do |m| + rule %r/([^#,?\[\]{}"'\n]+)(:)(?=\s|$)/ do |m| groups Name::Attribute, Punctuation::Indicator set_indent m[0], :implicit => true end # literal and folded scalars