vim/ultisnips-bullshit/htmlten.snippets @ 46fd11ae3808
Merge
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 13 Jun 2024 12:30:10 -0400 |
parents |
f77ee236cdf3 |
children |
(none) |
extends html
snippet % "Tag" i
{% ${1:tag} %}
$0
{% end %}
endsnippet
snippet { "Var" i
{{ $1 }}$0
endsnippet
snippet section "Section (single line)" i
{% section ${1:name} %}$2{% end %}
endsnippet
snippet Section "Section (multiline)" i
{% section ${1:name} %}
$2
{% end %}
endsnippet
snippet template "Template" b
{% template ${1:name} (${2::extends ${3:base}}) (&key$4) %}
$5
{% end %}
endsnippet