Source

.emacs.d / vendor / yasnippet / snippets / scala-mode / def.ret-body

Full commit
1
2
3
4
5
6
7
# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: def f: R = {...}
# key: def
# --
def ${1:name}: ${3:Unit} = {
  $0
}