Skip to content

Commit 4dbc9fb

Browse files
committed
format snippet
1 parent 98ca402 commit 4dbc9fb

File tree

1 file changed

+20
-40
lines changed

1 file changed

+20
-40
lines changed
Lines changed: 20 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
11
{
2-
"if": {
3-
"body": [
4-
"{#if ${1:condition}}",
5-
"\t$TM_SELECTED_TEXT$0",
6-
"{/if}"
7-
],
8-
"description": "if block"
9-
},
10-
"await": {
11-
"body": [
12-
"{#await ${1:promise}}",
13-
"\t$TM_SELECTED_TEXT$0",
14-
"{/await}"
15-
],
16-
"description": "await block"
17-
},
18-
"await then shorthand": {
19-
"body": [
20-
"{#await ${1:promise} then $2}",
21-
"\t$TM_SELECTED_TEXT$0",
22-
"{/await}"
23-
],
24-
"description": "await block without pending state"
25-
},
26-
"each": {
27-
"body": [
28-
"{#each ${1:array} as ${2:item}}",
29-
"\t$TM_SELECTED_TEXT$0",
30-
"{/each}"
31-
],
32-
"description": "each block"
33-
},
34-
"key": {
35-
"body": [
36-
"{#key ${1:key}}",
37-
"\t$TM_SELECTED_TEXT$0",
38-
"{/key}"
39-
],
40-
"description": "key block"
41-
}
2+
"if": {
3+
"body": ["{#if ${1:condition}}", "\t$TM_SELECTED_TEXT$0", "{/if}"],
4+
"description": "if block"
5+
},
6+
"await": {
7+
"body": ["{#await ${1:promise}}", "\t$TM_SELECTED_TEXT$0", "{/await}"],
8+
"description": "await block"
9+
},
10+
"await then shorthand": {
11+
"body": ["{#await ${1:promise} then $2}", "\t$TM_SELECTED_TEXT$0", "{/await}"],
12+
"description": "await block without pending state"
13+
},
14+
"each": {
15+
"body": ["{#each ${1:array} as ${2:item}}", "\t$TM_SELECTED_TEXT$0", "{/each}"],
16+
"description": "each block"
17+
},
18+
"key": {
19+
"body": ["{#key ${1:key}}", "\t$TM_SELECTED_TEXT$0", "{/key}"],
20+
"description": "key block"
21+
}
4222
}

0 commit comments

Comments
 (0)