summaryrefslogtreecommitdiffstats
path: root/emacs/snippets/html-mode
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-04-11 15:37:01 +0200
committerGravatar Tom Willemsen2013-04-11 15:37:01 +0200
commit55ca176cd5022d2fc35bc2c06d5f9a764315f238 (patch)
tree3ee9e0df6dced4282af9116a8c93d888e30b7213 /emacs/snippets/html-mode
parentcaf0ec0fb16b3f911d5d596766ee3048fe07fa66 (diff)
parent9ab70194a65f1d7ab726aaacdb43a58a02a048b6 (diff)
downloaddotfiles-55ca176cd5022d2fc35bc2c06d5f9a764315f238.tar.gz
dotfiles-55ca176cd5022d2fc35bc2c06d5f9a764315f238.zip
Merge remote-tracking branch 'ryuslash/drd' into phoenix
Conflicts: .config/herbstluftwm/autostart .emacs.d/init.el .xinitrc .zprofile Makefile xmonad/xmonad.hs
Diffstat (limited to 'emacs/snippets/html-mode')
-rw-r--r--emacs/snippets/html-mode/Makefile4
-rw-r--r--emacs/snippets/html-mode/for8
-rw-r--r--emacs/snippets/html-mode/generic-block8
3 files changed, 20 insertions, 0 deletions
diff --git a/emacs/snippets/html-mode/Makefile b/emacs/snippets/html-mode/Makefile
new file mode 100644
index 0000000..b2dff78
--- /dev/null
+++ b/emacs/snippets/html-mode/Makefile
@@ -0,0 +1,4 @@
+DESTDIR:=$(DESTDIR)/html-mode
+objects=for generic-block
+
+include ../../../dotfiles.mk
diff --git a/emacs/snippets/html-mode/for b/emacs/snippets/html-mode/for
new file mode 100644
index 0000000..01d9c44
--- /dev/null
+++ b/emacs/snippets/html-mode/for
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: for
+# key: for
+# condition: pony-tpl-minor-mode
+# --
+{% for $1 in $2 %}
+ $0
+{% endfor %} \ No newline at end of file
diff --git a/emacs/snippets/html-mode/generic-block b/emacs/snippets/html-mode/generic-block
new file mode 100644
index 0000000..82d40c7
--- /dev/null
+++ b/emacs/snippets/html-mode/generic-block
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: Template Block
+# key: %
+# condition: pony-tpl-minor-mode
+# --
+{% $1 %}
+ $0
+{% end$1 %} \ No newline at end of file