Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (25 sloc) 825 Bytes
'.source.jinja, .text.html.jinja, .text.generic-config.jinja, .source.python.jinja, .source.shell.jinja, .text.xml.jinja, .source.yaml.jinja':
'Block':
'prefix': 'block'
'body': '{% block ${1:name} %}\n\t$2\n{% endblock %}'
'Complete Block':
'prefix': '{%'
'body': '{% $0 %}'
'Complete Variable':
'prefix': '{{'
'body': '{{ $0 }}'
'Extends':
'prefix': 'extends'
'body': '{% extends ${1:"${2:template}"} %}'
'Filter':
'prefix': 'filter'
'body': '{% filter ${1:filter} %}\n\t$2\n{% endfilter %}'
'For':
'prefix': 'for'
'body': '{% for ${1:item} in ${2:sequence} %}\n\t$3\n{% endfor %}'
'If':
'prefix': 'if'
'body': '{% if ${1:expr} %}\n\t$2\n{% endif %}'
'Macro':
'prefix': 'macro'
'body': '{% macro ${1:name}(${2:args}) %}\n\t$3\n{% endmacro %}'
You can’t perform that action at this time.