summaryrefslogtreecommitdiffstats
path: root/Ultisnips
diff options
context:
space:
mode:
Diffstat (limited to 'Ultisnips')
-rw-r--r--Ultisnips/django.snippets3
-rw-r--r--Ultisnips/python.snippets4
2 files changed, 7 insertions, 0 deletions
diff --git a/Ultisnips/django.snippets b/Ultisnips/django.snippets
new file mode 100644
index 0000000..472166b
--- /dev/null
+++ b/Ultisnips/django.snippets
@@ -0,0 +1,3 @@
+snippet dj_tag
+{% $1 %}
+endsnippet
diff --git a/Ultisnips/python.snippets b/Ultisnips/python.snippets
new file mode 100644
index 0000000..c34bc74
--- /dev/null
+++ b/Ultisnips/python.snippets
@@ -0,0 +1,4 @@
+snippet fn_main
+if __name__ == '__main__':
+ main()
+endsnippet