From 06459bcaa46d4faf19801264669420deacbcf32a Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 5 Jan 2021 09:16:15 -0300 Subject: [PATCH] Snippets for Django --- nvim/UltiSnips/htmldjango.snippets | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nvim/UltiSnips/htmldjango.snippets diff --git a/nvim/UltiSnips/htmldjango.snippets b/nvim/UltiSnips/htmldjango.snippets new file mode 100644 index 0000000..d2b405f --- /dev/null +++ b/nvim/UltiSnips/htmldjango.snippets @@ -0,0 +1,15 @@ +snippet for +{% for ${1:item} in ${2:list} %} + $0 +{% endfor %} +endsnippet + +snippet if +{% if ${1:condition} %} + $0 +{% endif %} +endsnippet + +snippet else +{% else %} +endsnippet