-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pug-svelte-dotblock.json
55 lines (55 loc) · 1.49 KB
/
pug-svelte-dotblock.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
{
"scopeName": "svelte.pug.dotblock",
"fileTypes": [],
"injectionSelector": "L:text.block.pug -meta.embedded.ts",
"patterns": [
{
"include": "#interp-object-literal"
},
{
"include": "#interp"
}
],
"repository": {
"interp-object-literal": {
"contentName": "meta.interpolation meta.embedded.ts",
"begin": "(?![!$#]){\\s*?(?={)",
"beginCaptures": {
"0": {
"name": "punctuation.section.interpolation.begin"
}
},
"end": "(?<=})\\s*?}",
"endCaptures": {
"0": {
"name": "punctuation.section.interpolation.end"
}
},
"patterns": [
{
"include": "source.ts#object-literal"
}
]
},
"interp": {
"contentName": "meta.interpolation meta.embedded.ts",
"begin": "(?![!$#]){",
"beginCaptures": {
"0": {
"name": "punctuation.section.interpolation.begin"
}
},
"end": "}",
"endCaptures": {
"0": {
"name": "punctuation.section.interpolation.end"
}
},
"patterns": [
{
"include": "source.ts"
}
]
}
}
}