]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/snippets/mako.snippets
Add universal ctags config
[rbdr/dotfiles] / vim / snippets / mako.snippets
CommitLineData
0d23b6e5
BB
1snippet def
2 <%def name="${1:name}">
3 ${2:}
4 </%def>
5snippet call
6 <%call expr="${1:name}">
7 ${2:}
8 </%call>
9snippet doc
10 <%doc>
11 ${1:}
12 </%doc>
13snippet text
14 <%text>
15 ${1:}
16 </%text>
17snippet for
18 % for ${1:i} in ${2:iter}:
19 ${3:}
20 % endfor
21snippet if if
22 % if ${1:condition}:
23 ${2:}
24 % endif
25snippet if if/else
26 % if ${1:condition}:
27 ${2:}
28 % else:
29 ${3:}
30 % endif
31snippet try
32 % try:
33 ${1:}
34 % except${2:}:
35 ${3:pass}
36 % endtry
37snippet wh
38 % while ${1:}:
39 ${2:}
40 % endwhile
41snippet $
42 ${ ${1:} }
43snippet <%
44 <% ${1:} %>
45snippet <!%
46 <!% ${1:} %>
47snippet inherit
48 <%inherit file="${1:filename}" />
49snippet include
50 <%include file="${1:filename}" />
51snippet namespace
52 <%namespace file="${1:name}" />
53snippet page
54 <%page args="${1:}" />