-
Notifications
You must be signed in to change notification settings - Fork 0
/
POE_Filter.JSON-tmLanguage
35 lines (34 loc) · 1 KB
/
POE_Filter.JSON-tmLanguage
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
// [PackageDev] target_format: plist, ext: tmLanguage
{ "name": "PoE Filter",
"scopeName": "source.filter",
"fileTypes": ["filter"],
"uuid": "d359f8f4-d3c7-460c-873b-31da33def45d",
"patterns": [
{
"name": "comment.filter",
"match": "#.*"
},
{ "name": "blocks.filter",
"match": "^(Show|Hide)"
},
{ "name": "operator.filter",
"match": "(<|<=|>|>=|=)"
},
{ "name": "conditions.filter",
"match": "(ItemLevel|DropLevel|Quality|Rarity|Class|BaseType|Sockets|LinkedSockets|SocketGroup|Height|Width|Identified|Corrupted|SetBorderColor|SetTextColor|SetBackgroundColor|SetFontSize)"
},
{ "name": "bool.filter",
"match": "(True|False)"
},
{ "name": "num.filter",
"match": "([0-1]?[0-9]?[0-9]|[2][0-4][0-9]|25[0-5])"
},
{ "name": "itemrare.filter",
"match": "(Normal|Magic|Rare|Unique)"
},
{
"name": "socketcolor.filter",
"match": "\b(R|G|B|W|RGB)\b"
}
]
}