-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPokemonTeamSyntax.JSON-tmLanguage
More file actions
55 lines (55 loc) · 1.06 KB
/
PokemonTeamSyntax.JSON-tmLanguage
File metadata and controls
55 lines (55 loc) · 1.06 KB
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
{
"name": "Pokemon Team",
"scopeName": "source.pktm",
"uuid": "38777002-7376-4b18-b868-38b1b29c927f",
"fileTypes": [
"pktm"
],
"patterns": [
{
"match": "([0-9]+\\s(HP|Atk|Def|SpA|SpD|Spe))",
"comment": "IV/EV",
"name": "constant.numeric"
},
{
"match": "(?<=Happiness:\\s|Level:\\s)[0-9]+",
"comment": "Happiness/Level",
"name": "constant.numeric"
},
{
"match": "(?<=Shiny:\\s)(Yes|No)",
"comment": "Shiny",
"name": "constant.numeric"
},
{
"match": "({{abilities}})",
"comment": "Abilities",
"name": "constant.numeric"
},
{
"match": "({{natures}})(?:\\sNature)",
"comment": "Natures",
"name": "support.class"
},
{
"match": "-\\s({{moves}})",
"comment": "Moves",
"name": "string.unquoted"
},
{
"match": "((Ability|EVs|IVs|Shiny|Happiness|Level):)",
"comment": "Properties",
"name": "entity.name.function"
},
{
"match": "({{items}})",
"comment": "Items",
"name": "keyword.operator"
},
{
"match": "({{pokemons}})",
"comment": "Species",
"name": "entity.name.tag"
}
]
}