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:
8
snippets/text-mode/scala-mode/if.else
Normal file
8
snippets/text-mode/scala-mode/if.else
Normal file
@@ -0,0 +1,8 @@
|
||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||
#name : if (cond) { .. } else { .. }
|
||||
# --
|
||||
if (${1:condition}) {
|
||||
$2
|
||||
} else {
|
||||
$0
|
||||
}
|
||||
Reference in New Issue
Block a user