-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
languages.js
94 lines (94 loc) · 1.9 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
export default [
{
linguistLanguageId: 183,
name: 'JavaScript',
type: 'programming',
tmScope: 'source.js',
aceMode: 'javascript',
codemirrorMode: 'javascript',
codemirrorMimeType: 'text/javascript',
color: '#f1e05a',
aliases: ['js', 'node'],
extensions: [
'.js',
'._js',
'.bones',
'.cjs',
'.es',
'.es6',
'.frag',
'.gs',
'.jake',
'.javascript',
'.jsb',
'.jscad',
'.jsfl',
'.jslib',
'.jsm',
'.jspre',
'.jss',
'.mjs',
'.njs',
'.pac',
'.sjs',
'.ssjs',
'.xsjs',
'.xsjslib',
'.wxs',
],
filenames: ['Jakefile'],
interpreters: [
'chakra',
'd8',
'gjs',
'js',
'node',
'nodejs',
'qjs',
'rhino',
'v8',
'v8-shell',
'zx',
],
vscodeLanguageIds: ['javascript', 'mongo'],
},
{
linguistLanguageId: 183,
name: 'JSX',
type: 'programming',
tmScope: 'source.js.jsx',
aceMode: 'javascript',
codemirrorMode: 'jsx',
codemirrorMimeType: 'text/jsx',
extensions: ['.jsx'],
vscodeLanguageIds: ['javascriptreact'],
group: 'JavaScript',
},
{
linguistLanguageId: 378,
name: 'TypeScript',
type: 'programming',
color: '#3178c6',
aliases: ['ts'],
interpreters: ['deno', 'ts-node'],
extensions: ['.ts', '.cts', '.mts'],
tmScope: 'source.ts',
aceMode: 'typescript',
codemirrorMode: 'javascript',
codemirrorMimeType: 'application/typescript',
vscodeLanguageIds: ['typescript'],
},
{
linguistLanguageId: 94_901_924,
name: 'TSX',
type: 'programming',
color: '#3178c6',
group: 'TypeScript',
extensions: ['.tsx'],
tmScope: 'source.tsx',
aceMode: 'javascript',
codemirrorMode: 'jsx',
codemirrorMimeType: 'text/jsx',
vscodeLanguageIds: ['typescriptreact'],
},
]