vim/snippets/jinja.snippets @ 0083e7916624

Peeling the shit onion
author Steve Losh <steve@stevelosh.com>
date Wed, 14 Aug 2013 12:43:34 -0400
parents 85ea7f03b9be
children (none)
# Generic Tags
snippet %
	{% ${1} %}${2}
snippet {
	{{ ${1} }}${2}
snippet %%
	{% ${1:tag_name} %}
	${2}
	{% end$1 %}

snippet block
	{% block ${1:content} %}
		${2}
	{% endblock %}
snippet blocki
	{% block ${1:content} %}${2}{% endblock %}