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