Project

General

Profile

RE: C# scanner file for CodeRay » _map.rb

Scanners map - Dmitry Popov, 2013-05-10 12:46

 
1
module CodeRay
2
module Scanners
3
  
4
  map \
5
    :'c++'       => :cpp,
6
    :cplusplus   => :cpp,
7
    :cs          => :csharp,
8
    :ecmascript  => :java_script,
9
    :ecma_script => :java_script,
10
    :rhtml       => :erb,
11
    :eruby       => :erb,
12
    :irb         => :ruby,
13
    :javascript  => :java_script,
14
    :js          => :java_script,
15
    :pascal      => :delphi,
16
    :patch       => :diff,
17
    :plain       => :text,
18
    :plaintext   => :text,
19
    :xhtml       => :html,
20
    :yml         => :yaml
21
  
22
  default :text
23
  
24
end
25
end
(4-4/5)