summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/if.else
blob: ebff4715e2c395ae57e4beb5e99bbb5a3c444e73 (plain) (blame)
1
2
3
4
5
6
7
8
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : if (cond) { .. } else { .. }
# --
if (${1:condition}) {
  $2
} else {
  $0
}