Re-add luasnip snippets
All checks were successful
/ check (push) Successful in 1m43s

This commit is contained in:
Oliver Davies 2025-07-28 20:11:50 +01:00
parent dbf5bde36b
commit 4ac31540af
7 changed files with 269 additions and 1 deletions

View file

@ -0,0 +1,19 @@
return {
s("do", fmta("{% <> %}<>", { i(1), i(0) })),
s("dump", fmta("{{ dump(<>) }}<>", { i(1), i(0) })),
s("echo", fmta("{{ <> }}<>", { i(1), i(0) })),
s(
"for",
fmta(
[[
{% for <> in <> %}
<>
{% endfor %}<>
]],
{ i(1), i(2), i(3), i(0) }
)
),
s("if", fmta("{% if <> %}<>{% endif %}<>", { i(1), i(2), i(0) })),
}