X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51e532bed427bffeac8fa44da7b2b6bf198b6849..16cf0684409d79e8506c3218e8ddba7cf63e70ad:/.vim/snippets/mako.snippets diff --git a/.vim/snippets/mako.snippets b/.vim/snippets/mako.snippets deleted file mode 100644 index 2a0aef9..0000000 --- a/.vim/snippets/mako.snippets +++ /dev/null @@ -1,54 +0,0 @@ -snippet def - <%def name="${1:name}"> - ${2:} - -snippet call - <%call expr="${1:name}"> - ${2:} - -snippet doc - <%doc> - ${1:} - -snippet text - <%text> - ${1:} - -snippet for - % for ${1:i} in ${2:iter}: - ${3:} - % endfor -snippet if if - % if ${1:condition}: - ${2:} - % endif -snippet if if/else - % if ${1:condition}: - ${2:} - % else: - ${3:} - % endif -snippet try - % try: - ${1:} - % except${2:}: - ${3:pass} - % endtry -snippet wh - % while ${1:}: - ${2:} - % endwhile -snippet $ - ${ ${1:} } -snippet <% - <% ${1:} %> -snippet -snippet inherit - <%inherit file="${1:filename}" /> -snippet include - <%include file="${1:filename}" /> -snippet namespace - <%namespace file="${1:name}" /> -snippet page - <%page args="${1:}" /> diff --git a/.vim/snippets/mako.snippets b/.vim/snippets/mako.snippets new file mode 120000 index 0000000..027cb7e --- /dev/null +++ b/.vim/snippets/mako.snippets @@ -0,0 +1 @@ +/usr/share/vim/addons/snippets/mako.snippets \ No newline at end of file