summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2023-11-11 18:14:42 +0100
committerSimeon Simeonov2023-11-11 18:14:42 +0100
commit4acb993ddff3a5e75475b5fe4c9dd2144fa853cd (patch)
treed94acddcbaa7ec2addab1e8dc1c4533ae8f2a390
parentf6ecb707b36d71b6a24e224b3635223f7a5b8b33 (diff)
Update Django snippets for html-mode
-rw-r--r--.emacs.d/snippets/html-mode/django_else2
-rw-r--r--.emacs.d/snippets/html-mode/django_endif2
-rw-r--r--.emacs.d/snippets/html-mode/django_for4
-rw-r--r--.emacs.d/snippets/html-mode/django_if2
-rw-r--r--.emacs.d/snippets/html-mode/django_ife2
-rw-r--r--.emacs.d/snippets/html-mode/django_translate2
-rw-r--r--.emacs.d/snippets/html-mode/django_url2
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 @@
2#name: django-else 2#name: django-else
3#key: el 3#key: el
4# -- 4# --
5{%else%} \ No newline at end of file 5{% 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 @@
2#name: django-endif 2#name: django-endif
3#key: ef 3#key: ef
4# -- 4# --
5{%endif%} \ No newline at end of file 5{% 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 @@
2#name: django-for 2#name: django-for
3#key: for 3#key: for
4# -- 4# --
5{%for ${1:condition} %} 5{% for ${1:condition} %}
6$0 6$0
7{%endfor%} \ No newline at end of file 7{% 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 @@
2#name: django-if 2#name: django-if
3#key: if 3#key: if
4# -- 4# --
5{%if ${1:condition} %}$0{%endif%} \ No newline at end of file 5{% 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 @@
2#name: django-ifelse 2#name: django-ifelse
3#key: ife 3#key: ife
4# -- 4# --
5{%if ${1:condition} %}$0{%else%}{%endif%} \ No newline at end of file 5{% 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 @@
2#name: django-translate 2#name: django-translate
3#key: tr 3#key: tr
4# -- 4# --
5{%trans "$0" %} \ No newline at end of file 5{% 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 @@
2#name: django-url 2#name: django-url
3#key: url 3#key: url
4# -- 4# --
5{%url $0 %} \ No newline at end of file 5{% url $0 %} \ No newline at end of file