This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shards.tmLanguage.json
85 lines (85 loc) · 2.11 KB
/
shards.tmLanguage.json
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
{
"$schema" : "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name" : "shards",
"patterns" : [ {
"include" : "#comments"
}, {
"include" : "#commas"
}, {
"include" : "#assignments"
}, {
"include" : "#enums"
}, {
"include" : "#parameters"
}, {
"include" : "#shards"
}, {
"include" : "#literals"
}, {
"include" : "#variables"
}, {
"include" : "#strings"
} ],
"repository" : {
"assignments" : {
"name" : "keyword.operator.assignment.shards",
"match" : "=|>|>=|>>|>>=|>>!"
},
"literals" : {
"patterns" : [ {
"name" : "constant.language.boolean.shards",
"match" : "\\b(true|false)\\b"
}, {
"name" : "constant.numeric.shards",
"match" : "\\b(0x[a-fA-F0-9]+|\\d+)\\b"
}, {
"name" : "constant.language.null.shards",
"match" : "\\b(none|null)\\b"
} ]
},
"strings" : {
"patterns" : [ {
"name" : "string.quoted.double.shards",
"begin" : "\"",
"end" : "\"",
"patterns" : [ {
"name" : "constant.character.escape.shards",
"match" : "\\\\."
} ]
}, {
"name" : "string.quoted.triple.shards",
"begin" : "\"\"\"",
"end" : "\"\"\"",
"patterns" : [ {
"name" : "constant.character.escape.shards",
"match" : "\\\\."
} ]
} ]
},
"comments" : {
"name" : "comment.line.semicolon.shards",
"match" : ";.*"
},
"commas" : {
"name" : "punctuation.separator.comma.shards",
"match" : ","
},
"variables" : {
"name" : "variable.other.readwrite.shards",
"match" : "[a-z_][a-zA-Z0-9_.-]*"
},
"shards" : {
"name" : "entity.name.type.class.shards",
"match" : "(@[a-z]|_?[A-Z])[a-zA-Z0-9_./-]*"
},
"enums" : {
"name" : "support.function.shards",
"match" : "\\b([A-Z][a-zA-Z0-9_]*::[A-Z][a-zA-Z0-9_]*)\\b"
},
"parameters" : {
"name" : "keyword.control.shards",
"match" : "\\b[A-Z][A-Za-z0-9-._]*:"
}
},
"scopeName" : "source.shards"
}