24 lines
413 B
Ruby
24 lines
413 B
Ruby
|
module CodeRay
|
||
|
module Scanners
|
||
|
|
||
|
map \
|
||
|
:h => :c,
|
||
|
:cplusplus => :cpp,
|
||
|
:'c++' => :cpp,
|
||
|
:ecma => :java_script,
|
||
|
:ecmascript => :java_script,
|
||
|
:ecma_script => :java_script,
|
||
|
:irb => :ruby,
|
||
|
:javascript => :java_script,
|
||
|
:js => :java_script,
|
||
|
:nitro => :nitro_xhtml,
|
||
|
:pascal => :delphi,
|
||
|
:plain => :plaintext,
|
||
|
:xhtml => :html,
|
||
|
:yml => :yaml
|
||
|
|
||
|
default :plain
|
||
|
|
||
|
end
|
||
|
end
|