From 4acb993ddff3a5e75475b5fe4c9dd2144fa853cd Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sat, 11 Nov 2023 18:14:42 +0100 Subject: Update Django snippets for html-mode --- .emacs.d/snippets/html-mode/django_else | 2 +- .emacs.d/snippets/html-mode/django_endif | 2 +- .emacs.d/snippets/html-mode/django_for | 4 ++-- .emacs.d/snippets/html-mode/django_if | 2 +- .emacs.d/snippets/html-mode/django_ife | 2 +- .emacs.d/snippets/html-mode/django_translate | 2 +- .emacs.d/snippets/html-mode/django_url | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.emacs.d/snippets/html-mode/django_else b/.emacs.d/snippets/html-mode/django_else index 1143acc..6eee67f 100644 --- a/.emacs.d/snippets/html-mode/django_else +++ b/.emacs.d/snippets/html-mode/django_else @@ -2,4 +2,4 @@ #name: django-else #key: el # -- -{%else%} \ No newline at end of file +{% else %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_endif b/.emacs.d/snippets/html-mode/django_endif index fe9c533..bcb7104 100644 --- a/.emacs.d/snippets/html-mode/django_endif +++ b/.emacs.d/snippets/html-mode/django_endif @@ -2,4 +2,4 @@ #name: django-endif #key: ef # -- -{%endif%} \ No newline at end of file +{% endif %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_for b/.emacs.d/snippets/html-mode/django_for index 41ad68f..fe6af64 100644 --- a/.emacs.d/snippets/html-mode/django_for +++ b/.emacs.d/snippets/html-mode/django_for @@ -2,6 +2,6 @@ #name: django-for #key: for # -- -{%for ${1:condition} %} +{% for ${1:condition} %} $0 -{%endfor%} \ No newline at end of file +{% endfor %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_if b/.emacs.d/snippets/html-mode/django_if index 6ad562d..1f49600 100644 --- a/.emacs.d/snippets/html-mode/django_if +++ b/.emacs.d/snippets/html-mode/django_if @@ -2,4 +2,4 @@ #name: django-if #key: if # -- -{%if ${1:condition} %}$0{%endif%} \ No newline at end of file +{% if ${1:condition} %}$0{% endif %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_ife b/.emacs.d/snippets/html-mode/django_ife index 7d64b19..ac3ba01 100644 --- a/.emacs.d/snippets/html-mode/django_ife +++ b/.emacs.d/snippets/html-mode/django_ife @@ -2,4 +2,4 @@ #name: django-ifelse #key: ife # -- -{%if ${1:condition} %}$0{%else%}{%endif%} \ No newline at end of file +{% if ${1:condition} %}$0{% else %}{% endif %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_translate b/.emacs.d/snippets/html-mode/django_translate index 22dbc0c..6e67608 100644 --- a/.emacs.d/snippets/html-mode/django_translate +++ b/.emacs.d/snippets/html-mode/django_translate @@ -2,4 +2,4 @@ #name: django-translate #key: tr # -- -{%trans "$0" %} \ No newline at end of file +{% trans "$0" %} \ No newline at end of file diff --git a/.emacs.d/snippets/html-mode/django_url b/.emacs.d/snippets/html-mode/django_url index 525385f..8420ee7 100644 --- a/.emacs.d/snippets/html-mode/django_url +++ b/.emacs.d/snippets/html-mode/django_url @@ -2,4 +2,4 @@ #name: django-url #key: url # -- -{%url $0 %} \ No newline at end of file +{% url $0 %} \ No newline at end of file -- cgit v1.3