vim/snippets/jinja.snippets @ bb3ad1e86f0a

http://i.imgur.com/DY4Y9.png
author Steve Losh <steve@stevelosh.com>
date Tue, 17 Jan 2012 14:25:49 -0500
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 %}