diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/snippets/text-mode/scala-mode/for.multi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/for.multi b/emacs.d/snippets/text-mode/scala-mode/for.multi new file mode 100644 index 0000000..c512067 --- /dev/null +++ b/emacs.d/snippets/text-mode/scala-mode/for.multi @@ -0,0 +1,9 @@ +#Author : Jonas Bonèr <jonas@jonasboner.com> +#name : for {x <- xs \ y <- ys} { yield } +# -- +for { + ${1:x} <- ${2:xs} + ${3:x} <- ${4:xs} +} { + yield $0 +}
\ No newline at end of file |