lib/rouge/lexers/julia.rb in rouge-2.2.1 vs lib/rouge/lexers/julia.rb in rouge-3.0.0
- old
+ new
@@ -8,11 +8,11 @@
tag 'julia'
aliases 'jl'
filenames '*.jl'
mimetypes 'text/x-julia', 'application/x-julia'
- def self.analyze_text(text)
- 1 if text.shebang? 'julia'
+ def self.detect?(text)
+ return true if text.shebang? 'julia'
end
BUILTINS = /\b(?:
applicable | assert | convert
| dlopen | dlsym | edit