summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv5
-rw-r--r--emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv.after6
2 files changed, 11 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv b/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv
new file mode 100644
index 0000000..804fb3f
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv
@@ -0,0 +1,5 @@
+#name : receive ... -> ... end
+# --
+receive
+ $1 -> $0
+end
diff --git a/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv.after b/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv.after
new file mode 100644
index 0000000..51046df
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/erlang-mode/rcv.after
@@ -0,0 +1,6 @@
+#name : receive after ... -> ... end
+# --
+receive
+after
+ $1 -> $0
+end