summaryrefslogtreecommitdiff
path: root/.emacs.d/mysnippets/text-mode/scala-mode/act.arg
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/mysnippets/text-mode/scala-mode/act.arg')
-rw-r--r--.emacs.d/mysnippets/text-mode/scala-mode/act.arg10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/act.arg b/.emacs.d/mysnippets/text-mode/scala-mode/act.arg
new file mode 100644
index 0000000..fc6df9e
--- /dev/null
+++ b/.emacs.d/mysnippets/text-mode/scala-mode/act.arg
@@ -0,0 +1,10 @@
1#Author : Jonas Bonèr <jonas@jonasboner.com>
2#name : def act(arg: T) = { ..}
3# --
4def act(${1:arg}: ${2:type}) = {
5 loop {
6 react {
7 $0
8 }
9 }
10} \ No newline at end of file