-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathcommon.js
78 lines (76 loc) · 2.62 KB
/
common.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
/**
* @import {Grammar} from '@wooorm/starry-night'
*/
import sourceC from '@wooorm/starry-night/source.c'
import sourceCpp from '@wooorm/starry-night/source.c++'
import sourceCPlatform from '@wooorm/starry-night/source.c.platform'
import sourceCs from '@wooorm/starry-night/source.cs'
import sourceCss from '@wooorm/starry-night/source.css'
import sourceCssLess from '@wooorm/starry-night/source.css.less'
import sourceCssScss from '@wooorm/starry-night/source.css.scss'
import sourceDiff from '@wooorm/starry-night/source.diff'
import sourceGo from '@wooorm/starry-night/source.go'
import sourceGraphql from '@wooorm/starry-night/source.graphql'
import sourceIni from '@wooorm/starry-night/source.ini'
import sourceJava from '@wooorm/starry-night/source.java'
import sourceJs from '@wooorm/starry-night/source.js'
import sourceJson from '@wooorm/starry-night/source.json'
import sourceKotlin from '@wooorm/starry-night/source.kotlin'
import sourceLua from '@wooorm/starry-night/source.lua'
import sourceMakefile from '@wooorm/starry-night/source.makefile'
import sourceObjc from '@wooorm/starry-night/source.objc'
import sourceObjcPlatform from '@wooorm/starry-night/source.objc.platform'
import sourcePerl from '@wooorm/starry-night/source.perl'
import sourcePython from '@wooorm/starry-night/source.python'
import sourceR from '@wooorm/starry-night/source.r'
import sourceRuby from '@wooorm/starry-night/source.ruby'
import sourceRust from '@wooorm/starry-night/source.rust'
import sourceShell from '@wooorm/starry-night/source.shell'
import sourceSql from '@wooorm/starry-night/source.sql'
import sourceSwift from '@wooorm/starry-night/source.swift'
import sourceTs from '@wooorm/starry-night/source.ts'
import sourceVbnet from '@wooorm/starry-night/source.vbnet'
import sourceYaml from '@wooorm/starry-night/source.yaml'
import textHtmlBasic from '@wooorm/starry-night/text.html.basic'
import textHtmlPhp from '@wooorm/starry-night/text.html.php'
import textMd from '@wooorm/starry-night/text.md'
import textXml from '@wooorm/starry-night/text.xml'
import textXmlSvg from '@wooorm/starry-night/text.xml.svg'
/** @type {ReadonlyArray<Grammar>} */
export const grammars = [
sourceC,
sourceCpp,
sourceCPlatform,
sourceCs,
sourceCss,
sourceCssLess,
sourceCssScss,
sourceDiff,
sourceGo,
sourceGraphql,
sourceIni,
sourceJava,
sourceJs,
sourceJson,
sourceKotlin,
sourceLua,
sourceMakefile,
sourceObjc,
sourceObjcPlatform,
sourcePerl,
sourcePython,
sourceR,
sourceRuby,
sourceRust,
sourceShell,
sourceSql,
sourceSwift,
sourceTs,
sourceVbnet,
sourceYaml,
textHtmlBasic,
textHtmlPhp,
textMd,
textXml,
textXmlSvg
]