lib/rouge/lexers/digdag.rb in rouge_ecl-0.0.1 vs lib/rouge/lexers/digdag.rb in rouge_ecl-1.0.0
- old
+ new
@@ -9,9 +9,13 @@
tag 'digdag'
filenames '*.dig'
mimetypes 'application/x-digdag'
+ def self.analyze_text(text)
+ # disable YAML.analyze_text
+ end
+
# http://docs.digdag.io/operators.html
# as of digdag v0.9.10
KEYWORD_PATTERN = Regexp.union(%w(
call
require