snippet trans "Trans"
{% trans %}$1{% endtrans %}
endsnippet

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 block "block"
{% block $1 %}

{% endblock %}
endsnippet


snippet {{ "Print"
{{ $1 }}
endsnippet

snippet {% "Function"
{% $1 %}
endsnippet

snippet set "Function"
{% set $1 %}
endsnippet

snippet	ci "item"
<div class="font-weight-bold">{{ '$1'|trans }}</div>
<div class="mb-3">{{ entity.$2 }}</div>
endsnippet
