diff options
| author | 2013-08-13 22:20:08 +0200 | |
|---|---|---|
| committer | 2013-08-13 22:20:08 +0200 | |
| commit | aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9 (patch) | |
| tree | e6c880a904ad0bdd2a697b4e4bea669ee0aa1499 /.emacs.d/snippets/html-mode | |
| download | emacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.tar.gz emacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.zip | |
Initial commit of my Emacs configuration in vcsh
Diffstat (limited to '.emacs.d/snippets/html-mode')
| -rw-r--r-- | .emacs.d/snippets/html-mode/for | 8 | ||||
| -rw-r--r-- | .emacs.d/snippets/html-mode/generic-block | 8 | ||||
| -rw-r--r-- | .emacs.d/snippets/html-mode/script | 5 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.emacs.d/snippets/html-mode/for b/.emacs.d/snippets/html-mode/for new file mode 100644 index 0000000..01d9c44 --- /dev/null +++ b/.emacs.d/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.d/snippets/html-mode/generic-block b/.emacs.d/snippets/html-mode/generic-block new file mode 100644 index 0000000..82d40c7 --- /dev/null +++ b/.emacs.d/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 diff --git a/.emacs.d/snippets/html-mode/script b/.emacs.d/snippets/html-mode/script new file mode 100644 index 0000000..e50dbf5 --- /dev/null +++ b/.emacs.d/snippets/html-mode/script @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: script +# key: script +# -- +<script src="$1" type="${2:text/javascript}" language="${3:javascript}"></script>
\ No newline at end of file |
