lib/rouge/lexers/plist.rb in rouge-2.2.1 vs lib/rouge/lexers/plist.rb in rouge-3.0.0

- old
+ new

@@ -6,13 +6,9 @@ aliases 'plist' filenames *%w(*.plist *.pbxproj) mimetypes 'text/x-plist', 'application/x-plist' - def self.analyze_text(text) - return 0.6 if text.start_with?("// !$*UTF8*$!") - end - state :whitespace do rule /\s+/, Text::Whitespace end state :root do