my-emacs-d/elpa/yasnippet-20161022.646/snippets/scala-mode/def

8 lines
165 B
Plaintext
Raw Normal View History

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