File tree Expand file tree Collapse file tree 2 files changed +52
-8
lines changed Expand file tree Collapse file tree 2 files changed +52
-8
lines changed Original file line number Diff line number Diff line change 228228 "path" : " ./syntaxes/svelte.tmLanguage.json" ,
229229 "embeddedLanguages" : {
230230 "text.html" : " html" ,
231+ "text.pug" : " jade" ,
231232 "source.css" : " css" ,
232233 "source.css.scss" : " scss" ,
233234 "source.js" : " javascript" ,
234235 "source.ts" : " typescript"
235236 }
236237 },
237238 {
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+ }
246247 }
247248 ],
248249 "commands" : [
Original file line number Diff line number Diff line change 55 "uuid" : " 7582b62f-51d9-4a84-8c8d-fc189530faf6" ,
66
77 "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+ },
851 {
952 "begin" : " (<)(style)\\ b(?=[^>]*(?:type=('text/sass'|\" text/sass\" )|lang=(sass|'sass'|\" sass\" )))(?![^/>]*/>\\ s*$)" ,
1053 "beginCaptures" : {
You can’t perform that action at this time.
0 commit comments