aboutsummaryrefslogtreecommitdiff
path: root/UltiSnips
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-02-19 17:12:42 -0700
committerCody Hiar <codyfh@gmail.com>2017-02-19 17:12:42 -0700
commite8e0f6bcf2e3caed116d6e823df421619ea24f58 (patch)
tree7ab1a78a10767fd075b6379b488171869170a3e2 /UltiSnips
parent800366d09dd715990c530b8998d758d66ccf5b13 (diff)
Big revamp after the thoughtbot video
Diffstat (limited to 'UltiSnips')
-rw-r--r--UltiSnips/htmljinja.snippets93
-rw-r--r--UltiSnips/python.snippets8
2 files changed, 0 insertions, 101 deletions
diff --git a/UltiSnips/htmljinja.snippets b/UltiSnips/htmljinja.snippets
deleted file mode 100644
index 806afe7..0000000
--- a/UltiSnips/htmljinja.snippets
+++ /dev/null
@@ -1,93 +0,0 @@
-# http://jinja.pocoo.org/
-
-# jinja2 is a full featured template engine for Python. It has full
-# unicode support, an optional integrated sandboxed execution
-# environment, widely used and BSD licensed.
-
-# possible extends:
-#extends html
-
-
-snippet block "block" b
-{% block ${1:name} %}
- $2
-{% endblock %}
-endsnippet
-
-
-snippet {{ "variable" b
-{{ $1 }}
-endsnippet
-
-
-snippet {# "comment" b
-{# $1 #}
-endsnippet
-
-
-snippet # "comment" b
-{# $1 #}
-endsnippet
-
-
-snippet extends "extends" b
-{% extends "${1:template}" %}
-endsnippet
-
-
-snippet include "include" b
-{% include "${1:template}" %}
-endsnippet
-
-
-snippet import "import" b
-{% import "${1:template}" %}
-endsnippet
-
-
-snippet from "from/import/as" b
-{% from "${1:template}" import ${2:name}${3: as ${4:$2}} %}
-endsnippet
-
-
-snippet for "for" b
-{% for ${1:item} in ${2:sequence} %}
- $3
-{% endfor %}
-endsnippet
-
-
-snippet fore "for/else" b
-{% for ${1:item} in ${2:sequence} %}
- $3
-{% else %}
- $4
-{% endfor %}
-endsnippet
-
-
-snippet if "if" b
-{% if ${1:expr} %}
- $2
-{% endif %}
-endsnippet
-
-
-snippet ife "if/else" b
-{% if ${1:expr} %}
- $2
-{% else %}
- $3
-{% endif %}
-endsnippet
-
-
-snippet ifee "if/elif/else" b
-{% if ${1:expr} %}
- $2
-{% elif %}
- $3
-{% else %}
- $4
-{% endif %}
-endsnippet
diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets
deleted file mode 100644
index 65be5b1..0000000
--- a/UltiSnips/python.snippets
+++ /dev/null
@@ -1,8 +0,0 @@
-snippet "" "Comments but same line" b
-""" $1 """
-endsnippet
-
-snippet de "Make a very basic function" b
-def ${1:function}($2):
- ${3:pass}
-endsnippet