summaryrefslogtreecommitdiffstats
path: root/.emacs.d/snippets/html-mode
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-26 12:30:54 +0100
committerGravatar Tom Willemse2014-01-26 12:30:54 +0100
commit237da46f1a982ed9b9f6cbbb41487e632e320c97 (patch)
tree0b42da67d83f9fd4761616ce85c860a25cbd14fc /.emacs.d/snippets/html-mode
parent25dc5140d63f5dd08dec391911fc508f1f30e83e (diff)
downloademacs-237da46f1a982ed9b9f6cbbb41487e632e320c97.tar.gz
emacs-237da46f1a982ed9b9f6cbbb41487e632e320c97.zip
Add snippet
Diffstat (limited to '.emacs.d/snippets/html-mode')
-rw-r--r--.emacs.d/snippets/html-mode/trans-with-cap6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/snippets/html-mode/trans-with-cap b/.emacs.d/snippets/html-mode/trans-with-cap
new file mode 100644
index 0000000..4f20a33
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/trans-with-cap
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: trans with cap
+# key: trans
+# condition: pony-tpl-minor-mode
+# --
+{% trans "$1"|capfirst %} \ No newline at end of file