Browse Source

more htmldjango/jinja snippets (import and the vim modeline)

master
Julio Biason 12 years ago
parent
commit
943da748e8
  1. 4
      snippets/htmldjango.snippets

4
snippets/htmldjango.snippets

@ -14,3 +14,7 @@ snippet macro
{% macro ${1:name}(${2:params}) %} {% macro ${1:name}(${2:params}) %}
${3:{# content #}} ${3:{# content #}}
{% endmacro %} {# $1 #} {% endmacro %} {# $1 #}
snippet import
{% import "${1:filename}" as ${2:namespace}${3: with context} %}
snippet modeline
{# vim:set ft=htmldjango: #}

Loading…
Cancel
Save