diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/lisp/yasnippet/snippets/erlang-mode/if | 6 | ||||
-rw-r--r-- | emacs.d/lisp/yasnippet/snippets/erlang-mode/ifdef | 5 | ||||
-rw-r--r-- | emacs.d/lisp/yasnippet/snippets/erlang-mode/ifndef | 5 |
3 files changed, 16 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/erlang-mode/if b/emacs.d/lisp/yasnippet/snippets/erlang-mode/if new file mode 100644 index 0000000..45674c4 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/erlang-mode/if @@ -0,0 +1,6 @@ +#name : if ... -> ... ; true -> ... end +# -- +if + $1 -> $2; + true -> $0 +end diff --git a/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifdef b/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifdef new file mode 100644 index 0000000..ea89ecf --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifdef @@ -0,0 +1,5 @@ +#name : -ifdef(...). ... -endif. +# -- +-ifdef($1). +$0 +-endif. diff --git a/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifndef b/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifndef new file mode 100644 index 0000000..dcd67a7 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/erlang-mode/ifndef @@ -0,0 +1,5 @@ +#name : -ifndef(...). ... -endif. +# -- +-ifndef($1). +$0 +-endif. |