vim/ultisnips-bullshit/htmldjango.snippets @ 1e75bf5d6f48

More
author Steve Losh <steve@stevelosh.com>
date Wed, 08 May 2024 10:22:28 -0400
parents (none)
children (none)
extends html


snippet % "Django tag" i
{% ${1:tag_name} $2%}
    $0
{% end$1 %}
endsnippet

snippet { "Django var" i
{{ $1 }}$0
endsnippet

snippet block "" i
{% block $1 %}$2{% endblock $1 %}
endsnippet

snippet Block "" i
{% block $1 %}
    $2
{% endblock $1 %}
endsnippet

snippet extends "" b
{% extends "${1:foo}" %}$2
endsnippet