vim/snippets/jinja.snippets @ 9247b5bc73bb

linux
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Jun 2018 09:15:28 -0700
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 %}