-
Notifications
You must be signed in to change notification settings - Fork 26
/
languages.js
111 lines (110 loc) · 6.57 KB
/
languages.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
'use strict';
var cBlock = {"start":"/*", "end":"*/", "ignore":"*"};
var htmlBlock = {"start": "<!--", "end": "-->", "ignore": "-"};
var gamsBlock = {"start": "$ontext", "end": "$offtext", "ignore": "-"};
module.exports = {
".boot": {"name": "boot", "symbol": ";"},
".coffee": {"name": "coffeescript", "symbol": "#"},
".litcoffee": {"name": "coffeescript", "symbol": "#", "literate": true},
"Cakefile": {"name": "coffeescript", "symbol": "#"},
".rb": {"name": "ruby", "symbol": "#"},
".py": {"name": "python", "symbol": "#"},
".jl": {"name": "julia", "symbol": "#", "block": {"start": "#=", "end": "=#", "ignore": "#"}},
".tex": {"name": "tex", "symbol": "%"},
".latex": {"name": "tex", "symbol": "%"},
".swift": {"name": "swift", "symbol": "//", "block": cBlock},
".js": {"name": "javascript", "symbol": "//", "block": cBlock},
".es6": {"name": "javascript", "symbol": "//", "block": cBlock},
".es": {"name": "javascript", "symbol": "//", "block": cBlock},
".jsx": {"name": "jsx", "symbol": "//", "block": cBlock},
".java": {"name": "java", "symbol": "//", "block": cBlock},
".properties": {"name": "properties", "symbol": "#"},
".sbt": {"name": "sbt", "symbol": "//", "block": cBlock},
".groovy": {"name": "groovy", "symbol": "//", "block": cBlock},
".scss": {"name": "scss", "symbol": "//"},
".css": {"name": "css", "symbol": "//", "block": cBlock},
".cpp": {"name": "cpp", "symbol": "//", "block": cBlock},
".cxx": {"name": "cpp", "symbol": "//", "block": cBlock},
".cc": {"name": "cpp", "symbol": "//", "block": cBlock},
".hpp": {"name": "cpp", "symbol": "//", "block": cBlock},
".hxx": {"name": "cpp", "symbol": "//", "block": cBlock},
".hh": {"name": "cpp", "symbol": "//", "block": cBlock},
".ino": {"name": "cpp", "symbol": "//", "block": cBlock},
".php": {"name": "php", "symbol": "//", "block": htmlBlock},
".idr": {"name": "idris", "symbol": "--"},
".hs": {"name": "haskell", "symbol": "--"},
".elm": {"name": "elm", "symbol": "--"},
".erl": {"name": "erlang", "symbol": "%"},
".hrl": {"name": "erlang", "symbol": "%"},
".less": {"name": "less", "symbol": "//", "block": cBlock},
".c": {"name": "c", "symbol":"//", "block": cBlock},
".h": {"name": "objectivec", "symbol": "//", "block": cBlock},
".m": {"name": "objectivec", "symbol": "//", "block": cBlock},
".mm": {"name": "objectivec", "symbol": "//", "block": cBlock},
".m4": {"name": "m4", "symbol": "#"},
".scala": {"name": "scala", "symbol": "//", "block": cBlock},
".cs": {"name": "cs", "symbol": "//", "block": cBlock},
".as": {"name": "actionscript", "symbol": "//"},
".scpt": {"name": "applescript", "symbol": "--"},
".applescript": {"name": "applescript", "symbol": "--"},
".sh": {"name": "bash", "symbol": "#"},
".clj": {"name": "clojure", "symbol": ";"},
".cljc": {"name": "clojure", "symbol": ";"},
".cljs": {"name": "clojurescript", "symbol": ";"},
".cmake": {"name": "cmake", "symbol": "#"},
".d": {"name": "d", "symbol": "//"},
".p": {"name": "delphi", "symbol": "//"},
".pp": {"name": "delphi", "symbol": "//"},
".pas": {"name": "delphi", "symbol": "//"},
".bat": {"name": "dos", "symbol": "@?rem"},
".btm": {"name": "dos", "symbol": "@?rem"},
".cmd": {"name": "dos", "symbol": "@?rem"},
".gms": {"name": "gams", "symbol": "*", "block": gamsBlock},
".go": {"name": "go", "symbol": "//", "block": cBlock},
".ini": {"name": "ini", "symbol": ";"},
".lisp": {"name": "lisp", "symbol": ";"},
".mel": {"name": "mel", "symbol": "//"},
".pl": {"name": "perl", "symbol": "#"},
".pm": {"name": "perl", "symbol": "#"},
".pod": {"name": "perl", "symbol": "#"},
".t": {"name": "perl", "symbol": "#"},
".pl6": {"name": "perl6", "symbol": "#"},
".pm6": {"name": "perl6", "symbol": "#"},
".r": {"name": "r", "symbol": "#"},
".rc": {"name": "rust", "symbol": "//"},
".rs": {"name": "rust", "symbol": "//"},
".sql": {"name": "sql", "symbol": "--"},
".pks": {"name": "pks", "symbol": "--", "block": cBlock},
".pkb": {"name": "pkb", "symbol": "--", "block": cBlock},
".vala": {"name": "vala", "symbol": "//"},
".vapi": {"name": "vala", "symbol": "//"},
".vbe": {"name": "vbscript", "symbol": "'"},
".vbs": {"name": "vbscript", "symbol": "'"},
".wsc": {"name": "vbscript", "symbol": "'"},
".wsf": {"name": "vbscript", "symbol": "'"},
".vhdl": {"name": "vhdl", "symbol": "--"},
".bas": {"name": "basic", "symbol": "REM"},
".ps1": {"name": "powershell", "symbol": "#", "block": {"start":"<#", "end":"#>", "ignore":"#"} },
".lua": {"name": "lua", "symbol": "--", "block": {"start": "--[[", "end":"--]]"} },
".hx": {"name": "haxe", "symbol": "//", "block": cBlock},
".eg": {"name": "earl-grey", "symbol": ";;"},
".jade": {"name": "jade", "symbol": "//-"},
".pug": {"name": "jade", "symbol": "//-"},
".styl": {"name": "stylus", "symbol": "//"},
".ts": {"name": "typescript", "symbol": "//", "block": cBlock},
".html": {"name": "html", "symbol": "//", "block": htmlBlock },
".haml": {"name": "haml", "symbol": "-#"},
".yaml": {"name": "yaml", "symbol": "#"},
".yml": {"name": "yaml", "symbol": "#"},
".cls": {"name": "apex class", "symbol": "//", "block": cBlock},
".trigger": {"name": "apex trigger", "symbol": "//", "block": cBlock},
".page": {"name": "visualforce page", "symbol": "//", "block": htmlBlock },
".component": {"name": "visualforce component", "symbol": "//", "block": htmlBlock },
".cmp": {"name": "lightning component", "symbol": "//", "block": htmlBlock },
".vm": {"name": "velocity", "symbol": "##", "block": {"start": "#**", "end": "*#", "ignore": "*"} },
".vue": {"name": "vue component", "symbol": "//-", "block": cBlock},
".lock": {"name": "yarn lock", "symbol": "#"},
".re": {"name": "reasonml", "block": cBlock},
".kt": {"name": "kotlin", "symbol": "//", "block": cBlock},
".dart": {"name": "dart", "symbol": "//", "block": cBlock},
};