dotvim/.vim/UltiSnips/.svn/pristine/41/41f42dd55ec2c08b0adc950e834...

40 lines
466 B
Plaintext

snippet for "Boucle for"
{% for item in $1 %}
{% endfor %}
endsnippet
snippet if "If cond"
{% if $1 %}
{% else %}
{% endif %}
endsnippet
snippet dump "Dump function"
{{ dump($1) }}
endsnippet
snippet trans "Trans function"
{{ '$1'|trans }}
endsnippet
snippet macro "Macro function"
{% import _self as macros %}
{% macro $1() %}
{% endmacro %}
{{ macros.$1() }}
endsnippet
snippet {{ "Print"
{{ $1 }}
endsnippet
snippet {% "Function"
{% $1 %}
endsnippet