mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 23:12:26 +00:00
restructuring classic snippets dir to conform to new parenting specs
This commit is contained in:
11
snippets/scala-mode/match.can
Normal file
11
snippets/scala-mode/match.can
Normal file
@@ -0,0 +1,11 @@
|
||||
#Author : Jonas Bonèr <jonas@jonasboner.com>
|
||||
#name : can match { case Full(res) => .. }
|
||||
# --
|
||||
${1:option} match {
|
||||
case Full(res) => $0
|
||||
|
||||
case Empty =>
|
||||
|
||||
case Failure(msg, _, _) =>
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user