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