vim/snippets/jinja.snippets @ 84cf4095d2b2

vim: and Django variables too
author Steve Losh <steve@stevelosh.com>
date Thu, 07 Apr 2011 10:29:55 -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 %}