From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-snippets | 1 + .../vim-snippets/UltiSnips/htmldjango.snippets | 299 --------------------- 2 files changed, 1 insertion(+), 299 deletions(-) create mode 160000 vim/bundle/vim-snippets delete mode 100644 vim/bundle/vim-snippets/UltiSnips/htmldjango.snippets (limited to 'vim/bundle/vim-snippets/UltiSnips/htmldjango.snippets') diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 index 0000000..15d7e5e --- /dev/null +++ b/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 15d7e5ec26ec93adee4051b6359be90a943aa38d diff --git a/vim/bundle/vim-snippets/UltiSnips/htmldjango.snippets b/vim/bundle/vim-snippets/UltiSnips/htmldjango.snippets deleted file mode 100644 index 37fa85f..0000000 --- a/vim/bundle/vim-snippets/UltiSnips/htmldjango.snippets +++ /dev/null @@ -1,299 +0,0 @@ -priority -50 - -extends html - -# Generic Tags -snippet % "" bi -{% ${1} %}${2} -endsnippet - -snippet %% "" bi -{% ${1:tag_name} %} - ${2} -{% end$1 %} -endsnippet - -snippet { "" bi -{{ ${1} }}${2} -endsnippet - -# Template Tags - -snippet autoescape "" bi -{% autoescape ${1:off} %} - ${2} -{% endautoescape %} -endsnippet - -snippet block "" bi -{% block ${1} %} - ${2} -{% endblock $1 %} -endsnippet - -snippet # "" bi -{# ${1:comment} #} -endsnippet - -snippet comment "" bi -{% comment %} - ${1} -{% endcomment %} -endsnippet - -snippet cycle "" bi -{% cycle ${1:val1} ${2:val2} ${3:as ${4}} %} -endsnippet - -snippet debug "" bi -{% debug %} -endsnippet - -snippet extends "" bi -{% extends "${1:base.html}" %} -endsnippet - -snippet filter "" bi -{% filter ${1} %} - ${2} -{% endfilter %} -endsnippet - -snippet firstof "" bi -{% firstof ${1} %} -endsnippet - -snippet for "" bi -{% for ${1} in ${2} %} - ${3} -{% endfor %} -endsnippet - -snippet empty "" bi -{% empty %} - ${1} -endsnippet - -snippet if "" bi -{% if ${1} %} - ${2} -{% endif %} -endsnippet - -snippet iif "" bi -{% if ${1} %}${2}{% endif %} -endsnippet - -snippet ielse "" bi -{% else %}${1} -endsnippet - -snippet else "" bi -{% else %} - ${1} -endsnippet - -snippet ielif "" bi -{% elif %}${1} -endsnippet - -snippet elif "" bi -{% elif %} - ${1} -endsnippet - -snippet ifchanged "" bi -{% ifchanged %}${1}{% endifchanged %} -endsnippet - -snippet ifequal "" bi -{% ifequal ${1} ${2} %} - ${3} -{% endifequal %} -endsnippet - -snippet ifnotequal "" bi -{% ifnotequal ${1} ${2} %} - ${3} -{% endifnotequal %} -endsnippet - -snippet include "" bi -{% include "${1}" %} -endsnippet - -snippet load "" bi -{% load ${1} %} -endsnippet - -snippet now "" bi -{% now "${1:jS F Y H:i}" %} -endsnippet - -snippet regroup "" bi -{% regroup ${1} by ${2} as ${3} %} -endsnippet - -snippet spaceless "" bi -{% spaceless %}${1}{% endspaceless %} -endsnippet - -snippet ssi "" bi -{% ssi ${1} %} -endsnippet - -snippet trans "" bi -{% trans "${1:string}" %} -endsnippet - -snippet url "" bi -{% url ${1} as ${2} %} -endsnippet - -snippet widthratio "" bi -{% widthratio ${1:this_value} ${2:max_value} ${3:100} %} -endsnippet - -snippet with "" bi -{% with ${1} as ${2} %} - ${VISUAL} -{% endwith %} -endsnippet - -snippet verbatim "" bi -{% verbatim %} - ${VISUAL} -{% endverbatim %} -endsnippet - -snippet super "" bi -{{ block.super }} -endsnippet - -snippet staticu "" bi -{{ STATIC_URL }} -endsnippet - -snippet static "" bi -{% static "${VISUAL}" %} -endsnippet - -snippet mediau "" bi -{{ MEDIA_URL }} -endsnippet - -snippet iblock "" bi -{% block ${1:blockname} %}${VISUAL}{% endblock $1 %} -endsnippet - -snippet csrf "" bi -{% csrf_token %} -endsnippet - -snippet blocktrans "" bi -{% blocktrans %} - ${VISUAL} -{% endblocktrans %} -endsnippet - -snippet lorem "" bi -{% lorem ${1} %} -endsnippet - -# Template Filters - -# Note: Since SnipMate can't determine which template filter you are -# expanding without the "|" character, these do not add the "|" -# character. These save a few keystrokes still. - -# Note: Template tags that take no arguments are not implemented. - -snippet add "" bi -add:"${1}" -endsnippet - -snippet center "" bi -center:"${1}" -endsnippet - -snippet cut "" bi -cut:"${1}" -endsnippet - -snippet date "" bi -date:"${1}" -endsnippet - -snippet default "" bi -default:"${1}" -endsnippet - -snippet defaultifnone "" bi -default_if_none:"${1}" -endsnippet - -snippet dictsort "" bi -dictsort:"${1}" -endsnippet - -snippet dictsortrev "" bi -dictsortreversed:"${1}" -endsnippet - -snippet divisibleby "" bi -divisibleby:"${1}" -endsnippet - -snippet floatformat "" bi -floatformat:"${1}" -endsnippet - -snippet getdigit "" bi -get_digit:"${1}" -endsnippet - -snippet join "" bi -join:"${1}" -endsnippet - -snippet lengthis "" bi -length_is:"${1}" -endsnippet - -snippet pluralize "" bi -pluralize:"${1}" -endsnippet - -snippet removetags "" bi -removetags:"${1}" -endsnippet - -snippet slice "" bi -slice:"${1}" -endsnippet - -snippet stringformat "" bi -stringformat:"${1}" -endsnippet - -snippet time "" bi -time:"${1}" -endsnippet - -snippet truncatewords "" bi -truncatewords:${1} -endsnippet - -snippet truncatewordshtml "" bi -truncatewords_html:${1} -endsnippet - -snippet urlizetrunc "" bi -urlizetrunc:${1} -endsnippet - -snippet wordwrap "" bi -wordwrap:${1} -endsnippet - -# vim:ft=snippets: -- cgit v1.2.3