lib/rouge/lexers/julia.rb in rouge_ecl-0.0.1 vs lib/rouge/lexers/julia.rb in rouge_ecl-1.0.0

- old
+ new

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