summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/_map.rb
blob: b94d45296fb48509365c5fef03505d6843de4495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module CodeRay
module Scanners
  
  map \
    :'c++'       => :cpp,
    :cplusplus   => :cpp,
    :ecmascript  => :java_script,
    :ecma_script => :java_script,
    :erb         => :rhtml,
    :irb         => :ruby,
    :javascript  => :java_script,
    :js          => :java_script,
    :nitro       => :nitro_xhtml,
    :pascal      => :delphi,
    :patch       => :diff,
    :plain       => :text,
    :plaintext   => :text,
    :xhtml       => :html,
    :yml         => :yaml
  
  default :text
  
end
end