summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/foreach
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/foreach4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/foreach b/emacs.d/lisp/yasnippet/snippets/scala-mode/foreach
new file mode 100644
index 0000000..cafdd00
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/foreach
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : foreach(x => ..)
+# --
+foreach(${1:x} => ${2:body}) $0 \ No newline at end of file