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

- old
+ new

@@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # +# frozen_string_literal: true module Rouge module Lexers class Prolog < RegexLexer title "Prolog" @@ -11,9 +12,10 @@ mimetypes 'text/x-prolog' state :basic do rule /\s+/, Text rule /^#.*/, Comment::Single + rule /%.*/, Comment::Single rule /\/\*/, Comment::Multiline, :nested_comment rule /[\[\](){}|.,;!]/, Punctuation rule /:-|-->/, Punctuation