summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/for.if
blob: f44c544fac80202ab6a39fe23389d915ccccdc12 (plain) (blame)
1
2
3
4
5
6
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : for (x <- xs if guard) { ... }
# --
for (${1:x} <- ${2:xs} if ${3:guard}) {
  $0
}