diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:03:25 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:03:25 +0200 |
commit | e573b3020c032400eed60b649a2cbf55266e6bb0 (patch) | |
tree | 8f572394ac8433529c7a8e70d160a2fbe8268b4e /vim/bundle/vim-snippets/snippets/htmltornado.snippets | |
parent | b8c667bd64b3edd38d56c63c5bd1db53a23b4499 (diff) | |
download | myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.gz myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.bz2 myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.zip |
Add current configurations from old repository
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/htmltornado.snippets')
-rw-r--r-- | vim/bundle/vim-snippets/snippets/htmltornado.snippets | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/htmltornado.snippets b/vim/bundle/vim-snippets/snippets/htmltornado.snippets new file mode 100644 index 0000000..46f5dab --- /dev/null +++ b/vim/bundle/vim-snippets/snippets/htmltornado.snippets @@ -0,0 +1,55 @@ +# Generic tags + +snippet { + {{ ${0} }} + +# Template tags + +snippet extends + {% extends "${0:base.html}" %} +snippet autoescape + {% autoescape ${0:xhtml_escape | None} %} +snippet apply + {% apply ${1:function} %} + ${0} + {% end %} +snippet block + {% block ${1} %} + ${0} + {% end %} +snippet for + {% for ${1:item} in ${2} %} + ${0} + {% end %} +snippet from + {% from ${1:x} import ${0:y} %} +snippet if + {% if ${1:condition} %} + ${0} + {% end %} +snippet eif + {% elif ${0:condition} %} +snippet el + {% else %} +snippet import + {% import ${0:module} %} +snippet include + {% include "${0:filename}" %} +snippet module + {% module ${0:expression} %} +snippet raw + {% raw ${0:expression} %} +snippet set + {% set ${1:x} = ${0:y} %} +snippet try + {% try %} + ${1} + {% except %} + ${2} + {% finallly %} + ${0} + {% end %} +snippet wh + {% while ${1:condition} %} + ${0} + {% end %} |