Files
JIe 2bb7059579
Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
init
2024-08-21 14:17:26 +08:00

160 lines
3.1 KiB
Plaintext

snippet autoescape
abbr {% autoescape ... %} ... {% endautoescape %}
options head
{% autoescape ${1:#:strategy} %}
${0:TARGET}
{% autoescape %}
snippet block
abbr {% block ... %} ... {% endblock %}
alias bl
options head
{% block ${1:#:name} %}
${0:TARGET}
{% endblock %}
snippet dump
abbr <pre> {{ dump(...) }} </pre>
options head
<pre>
{{ dump(${0:TARGET}) }}
</pre>
snippet embed
abbr {% embed ... %} ... {% endembed %}
options head
{% embed '${1:template}' %}
{% block ${2} %}
${0:TARGET}
{% endblock %}
{% endembed %}
snippet extends
abbr {% extends ... %}
alias ext
options head
{% extends '${1:#:template}' %}
snippet filter
abbr {% filter ... %} ... {% endfilter %}
options head
{% filter ${1} %}
${0:TARGET}
{% endfilter %}
snippet flush
abbr {% flush %}
options head
{% flush %}
snippet for
abbr {% for ... in ... %} ... {% endfor %}
options head
{% for ${1:#:value} in ${2:#:list} %}
${0:TARGET}
{% endfor %}
snippet from
abbr {% from '...' import ... %}
options head
{% from '${1:#:module}' import ${2:#:macro} %}
snippet if
abbr {% if ... %} ... {% endif %}
options head
{% if ${1} %}
${0:TARGET}
{% endif %}
snippet elseif
abbr {% elseif ... %} ...
alias elif
options head
{% elseif ${1} %}
${0:TARGET}
snippet else
abbr {% else %} ...
options head
{% else %}
${0:TARGET}
snippet import
abbr {% import '...' as ... %}
options head
{% import '${1:#:module}' as ${2:#:namespace} %}
snippet include
abbr {% include '...' %}
options head
{% include '${1:#:template}' %}
snippet includewith
abbr {% include '...' %}
options head
{% include '${1:#:template}' with {${2:#:'key'}: ${2:#:'value'}} %}
snippet macro
abbr {% macro ...(...) %} ... {% endmacro %}
options head
{% macro ${1:#:name}(${2:#:args}) %}
${0:TARGET}
{% endmacro %}
snippet sandbox
abbr {% sandbox %} ... {% endsandbox %}
options head
{% sandbox %}
${0:TARGET}
{% endsandbox %}
snippet set
abbr {% set ... = ... %}
options head
{% set ${1:#:var} = ${2:#:value} %}
snippet setblock
abbr {% set ... %} ... {% endset %}
options head
{% set ${1:#:var} %}
${0:TARGET}
{% endset %}
snippet spaceless
abbr {% spaceless %} ... {% endspaceless %}
options head
{% spaceless %}
${0:TARGET}
{% endspaceless %}
snippet use
abbr {% use '...' %}
options head
{% use '${1:#:template}' %}
snippet verbatim
abbr {% verbatim %} ... {% endverbatim %}
options head
{% verbatim %}
${0:TARGET}
{% endverbatim %}
snippet comment
abbr {# ... #}
alias #
options head
{# ${1:comment} #}
snippet tag
abbr {% ... %}
alias %
options head
{% ${1:#:tag} %}
snippet tagblock
abbr {% ... %} ... {% end... %}
options head
{% ${1:#:tag} ${2:#:name} %}
${0:TARGET}
{% end$1 %}