mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 23:12:26 +00:00
Import snippets for scala-mode and nxml-mode from Anders.
This commit is contained in:
10
snippets/text-mode/scala-mode/act.arg
Normal file
10
snippets/text-mode/scala-mode/act.arg
Normal file
@@ -0,0 +1,10 @@
|
||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||
#name : def act(arg: T) = { ..}
|
||||
# --
|
||||
def act(${1:arg}: ${2:type}) = {
|
||||
loop {
|
||||
react {
|
||||
$0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user