summaryrefslogtreecommitdiffstats
path: root/emacs/snippets/html-mode
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-17 23:09:24 +0100
committerGravatar Tom Willemsen2013-02-17 23:09:33 +0100
commita281f040cd35dffe171d5b7d6b00fe03163be6a0 (patch)
tree744e2d8aeaed2aca087a1c1cbc3e9791644e973d /emacs/snippets/html-mode
parent50ab6deeabf2769ed3c4ff67385fae768ff41ee2 (diff)
downloaddotfiles-a281f040cd35dffe171d5b7d6b00fe03163be6a0.tar.gz
dotfiles-a281f040cd35dffe171d5b7d6b00fe03163be6a0.zip
Move .emacs.d to emacs
Since it's no longer placed directly in the home directory it doesn't need to be named exacly the same.
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