-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlens.JSON-tmLanguage
44 lines (44 loc) · 1.14 KB
/
lens.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
36
37
38
39
40
41
42
43
44
{ "name": "Koken Lens template",
"scopeName": "text.html.lens",
"fileTypes": ["lens"],
"patterns": [
{
"name": "",
"begin": "(</?)(koken:[a-z_]++)(?=[^>]*/?>)",
"beginCaptures": {
"1": { "name": "punctuation.definition.tag.begin.html" },
"2": { "name": "support.function" }
},
"end": "(>)",
"endCaptures": {
"1": { "name": "punctuation.definition.tag.end.html" }
},
"patterns": [
{
"name": "",
"match": "([a-z_:]+)(=)(\"[^\"]+\")",
"captures": {
"1": { "name": "entity.other.attribute-name.html" },
"2": { "name": "punctuation.separator.key-value.html" },
"3": { "name": "string.quoted.double.html" }
}
}
]
},
{
"name": "",
"begin": "(<)(koken:[a-z_]+)",
"beginCaptures": {
"1": { "name": "punctuation.definition.tag.begin.html" },
"2": { "name": "punctuation.definition.tag.begin.html" }
},
"end": "\\s?(/>)",
"endCaptures": {
"1": { "name": "punctuation.definition.tag.end.html" }
}
},
{
"include": "text.html.basic"
}],
"uuid": "9d001fe0-c8aa-4aee-8885-b335965fe3c2"
}