From 943da748e8e163c3c3d46d929cfdf45984969679 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 10 Jun 2013 13:56:16 -0300 Subject: [PATCH] more htmldjango/jinja snippets (import and the vim modeline) --- snippets/htmldjango.snippets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snippets/htmldjango.snippets b/snippets/htmldjango.snippets index cc8b1c0..6773847 100644 --- a/snippets/htmldjango.snippets +++ b/snippets/htmldjango.snippets @@ -14,3 +14,7 @@ snippet macro {% macro ${1:name}(${2:params}) %} ${3:{# content #}} {% endmacro %} {# $1 #} +snippet import + {% import "${1:filename}" as ${2:namespace}${3: with context} %} +snippet modeline + {# vim:set ft=htmldjango: #}