2012-08-16 23:41:25 -04:00
|
|
|
snippet def
|
|
|
|
<%def name="${1:name}">
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
</%def>
|
|
|
|
snippet call
|
|
|
|
<%call expr="${1:name}">
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
</%call>
|
|
|
|
snippet doc
|
|
|
|
<%doc>
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
</%doc>
|
|
|
|
snippet text
|
|
|
|
<%text>
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
</%text>
|
|
|
|
snippet for
|
|
|
|
% for ${1:i} in ${2:iter}:
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
% endfor
|
|
|
|
snippet if if
|
|
|
|
% if ${1:condition}:
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
% endif
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet ife if/else
|
2012-08-16 23:41:25 -04:00
|
|
|
% if ${1:condition}:
|
|
|
|
${2:}
|
|
|
|
% else:
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
% endif
|
|
|
|
snippet try
|
|
|
|
% try:
|
2017-02-11 08:01:38 -05:00
|
|
|
${1:${VISUAL}}
|
2012-08-16 23:41:25 -04:00
|
|
|
% except${2:}:
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:pass}
|
2012-08-16 23:41:25 -04:00
|
|
|
% endtry
|
|
|
|
snippet wh
|
|
|
|
% while ${1:}:
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:}
|
2012-08-16 23:41:25 -04:00
|
|
|
% endwhile
|
|
|
|
snippet $
|
2013-11-16 14:45:48 -05:00
|
|
|
${ ${0:} }
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet <%
|
2013-11-16 14:45:48 -05:00
|
|
|
<% ${0:} %>
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet <!%
|
2013-11-16 14:45:48 -05:00
|
|
|
<!% ${0:} %>
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet inherit
|
2013-11-16 14:45:48 -05:00
|
|
|
<%inherit file="${0:filename}" />
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet include
|
2013-11-16 14:45:48 -05:00
|
|
|
<%include file="${0:filename}" />
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet namespace
|
2013-11-16 14:45:48 -05:00
|
|
|
<%namespace file="${0:name}" />
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet page
|
2013-11-16 14:45:48 -05:00
|
|
|
<%page args="${0:}" />
|