blob: 2264eac62cfe6a31bef452a569cf548905c0f289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
snippet def
<%def name="${1:name}">
${0:}
</%def>
snippet call
<%call expr="${1:name}">
${0:}
</%call>
snippet doc
<%doc>
${0:}
</%doc>
snippet text
<%text>
${0:}
</%text>
snippet for
% for ${1:i} in ${2:iter}:
${0:}
% endfor
snippet if if
% if ${1:condition}:
${0:}
% endif
snippet ife if/else
% if ${1:condition}:
${2:}
% else:
${0:}
% endif
snippet try
% try:
${1:}
% except${2:}:
${0:pass}
% endtry
snippet wh
% while ${1:}:
${0:}
% endwhile
snippet $
${ ${0:} }
snippet <%
<% ${0:} %>
snippet <!%
<!% ${0:} %>
snippet inherit
<%inherit file="${0:filename}" />
snippet include
<%include file="${0:filename}" />
snippet namespace
<%namespace file="${0:name}" />
snippet page
<%page args="${0:}" />
|