lib/rouge/lexers/puppet.rb in rouge-3.2.1 vs lib/rouge/lexers/puppet.rb in rouge-3.3.0

- old
+ new

@@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # +# frozen_string_literal: true module Rouge module Lexers class Puppet < RegexLexer title "Puppet" @@ -65,10 +66,10 @@ rule /,/, Punctuation, :regex_allowed rule /(in|and|or)\b/, Operator::Word rule /[=!<>]=/, Operator rule /[=!]~/, Operator, :regex_allowed - rule %r([<>!+*/-]), Operator + rule %r([=<>!+*/-]), Operator rule /(class|include)(\s*)(#{qualname})/ do groups Keyword, Text, Name::Class end