lib/rouge/lexers/digdag.rb in rouge-3.4.1 vs lib/rouge/lexers/digdag.rb in rouge-3.5.0
- old
+ new
@@ -58,10 +58,10 @@
_do
_parallel
))
prepend :block_nodes do
- rule /(#{KEYWORD_PATTERN})(:)(?=\s|$)/ do |m|
+ rule %r/(#{KEYWORD_PATTERN})(:)(?=\s|$)/ do |m|
groups Keyword::Reserved, Punctuation::Indicator
set_indent m[0], :implicit => true
end
end
end