File tree 2 files changed +52
-8
lines changed
2 files changed +52
-8
lines changed Original file line number Diff line number Diff line change 228
228
"path" : " ./syntaxes/svelte.tmLanguage.json" ,
229
229
"embeddedLanguages" : {
230
230
"text.html" : " html" ,
231
+ "text.pug" : " jade" ,
231
232
"source.css" : " css" ,
232
233
"source.css.scss" : " scss" ,
233
234
"source.js" : " javascript" ,
234
235
"source.ts" : " typescript"
235
236
}
236
237
},
237
238
{
238
- "scopeName" : " markdown.svelte.codeblock" ,
239
- "path" : " ./syntaxes/markdown-svelte.json" ,
240
- "injectTo" : [
241
- " text.html.markdown"
242
- ],
243
- "embeddedLanguages" : {
244
- "meta.embedded.block.svelte" : " svelte"
245
- }
239
+ "scopeName" : " markdown.svelte.codeblock" ,
240
+ "path" : " ./syntaxes/markdown-svelte.json" ,
241
+ "injectTo" : [
242
+ " text.html.markdown"
243
+ ],
244
+ "embeddedLanguages" : {
245
+ "meta.embedded.block.svelte" : " svelte"
246
+ }
246
247
}
247
248
],
248
249
"commands" : [
Original file line number Diff line number Diff line change 5
5
"uuid" : " 7582b62f-51d9-4a84-8c8d-fc189530faf6" ,
6
6
7
7
"patterns" : [
8
+ {
9
+ "begin" : " (<)(template)\\ b(?=[^>]*lang=('jade'|\" jade\" |'pug'|\" pug\" ))(?![^/>]*/>\\ s*$)" ,
10
+ "beginCaptures" : {
11
+ "1" : {
12
+ "name" : " punctuation.definition.tag.begin.html"
13
+ },
14
+ "2" : {
15
+ "name" : " entity.name.tag.template.html"
16
+ }
17
+ },
18
+ "end" : " (</)(template)(>)" ,
19
+ "endCaptures" : {
20
+ "1" : {
21
+ "name" : " punctuation.definition.tag.begin.html"
22
+ },
23
+ "2" : {
24
+ "name" : " entity.name.tag.template.html"
25
+ },
26
+ "3" : {
27
+ "name" : " punctuation.definition.tag.end.html"
28
+ }
29
+ },
30
+ "patterns" : [
31
+ {
32
+ "include" : " #tag-stuff"
33
+ },
34
+ {
35
+ "contentName" : " text.pug" ,
36
+ "begin" : " (>)" ,
37
+ "beginCaptures" : {
38
+ "1" : {
39
+ "name" : " punctuation.definition.tag.end.html"
40
+ }
41
+ },
42
+ "end" : " (?=</template>)" ,
43
+ "patterns" : [
44
+ {
45
+ "include" : " text.pug"
46
+ }
47
+ ]
48
+ }
49
+ ]
50
+ },
8
51
{
9
52
"begin" : " (<)(style)\\ b(?=[^>]*(?:type=('text/sass'|\" text/sass\" )|lang=(sass|'sass'|\" sass\" )))(?![^/>]*/>\\ s*$)" ,
10
53
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments