File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ extends html
2
+
3
+ snippet ns " Namespace" b
4
+ {namespace ${1: name } }
5
+ endsnippet
6
+
7
+ snippet tmpl " Template" b
8
+ /**
9
+ * ${2: TODO(`whoami`): Describe this template. }
10
+ */
11
+ {template .${1: name } }
12
+ $0
13
+ {/template}
14
+ endsnippet
15
+
16
+ snippet msg " Message" b
17
+ {msg desc="${1: description } "}
18
+ $0
19
+ {/msg}
20
+ endsnippet
21
+
22
+ snippet let " let command" b
23
+ {let $${1: identifier } : ${2: expression } /}
24
+ endsnippet
25
+
26
+ snippet if " if .. (if)" b
27
+ {if ${1: expression } }
28
+ $0
29
+ {/if}
30
+ endsnippet
31
+
32
+ snippet ife " if .. else (ife)" b
33
+ {if ${1: expression } }
34
+ $2
35
+ {else}
36
+ $0
37
+ {/if}
38
+ endsnippet
39
+
40
+ snippet eli " else if .. (eli)" b
41
+ {elif ${1: expression } }
42
+ $0
43
+ endsnippet
44
+
45
+ snippet fore " foreach command" b
46
+ {foreach $${1: var } in ${2: ref } }
47
+ $0
48
+ {/foreach}
49
+ endsnippet
50
+
51
+ snippet for " for command" b
52
+ {for $${1: var } in range(${2: rangeexpr } )}
53
+ $0
54
+ {/for}
55
+ endsnippet
56
+
57
+ snippet call " template call" b
58
+ {call ${1: tmpl } }
59
+ $0
60
+ {/call}
61
+ endsnippet
You can’t perform that action at this time.
0 commit comments