From 7a6bb0f05e349068b0a89514f1da33d6d7de30a9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 24 Apr 2012 23:29:38 +0200 Subject: emacs.d/lisp/yasnippet: added yasnippet --- emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg') diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg b/emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg new file mode 100644 index 0000000..fc6df9e --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/act.arg @@ -0,0 +1,10 @@ +#Author : Jonas Bonèr +#name : def act(arg: T) = { ..} +# -- +def act(${1:arg}: ${2:type}) = { + loop { + react { + $0 + } + } +} \ No newline at end of file -- cgit v1.2.3