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