Source

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

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