vim/snippets/jinja.snippets @ a71a9f4b59fd

sjl/dotfiles turns 1000

let's celebrate with a README
author Steve Losh <steve@stevelosh.com>
date Mon, 24 Feb 2014 12:41:26 -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 %}