summaryrefslogtreecommitdiff
path: root/.emacs.d/mysnippets/text-mode/scala-mode/match.option
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/mysnippets/text-mode/scala-mode/match.option')
-rw-r--r--.emacs.d/mysnippets/text-mode/scala-mode/match.option8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/scala-mode/match.option b/.emacs.d/mysnippets/text-mode/scala-mode/match.option
new file mode 100644
index 0000000..5b098f1
--- /dev/null
+++ b/.emacs.d/mysnippets/text-mode/scala-mode/match.option
@@ -0,0 +1,8 @@
1#Author : Jonas Bonèr <jonas@jonasboner.com>
2#name : option match { case None => .. }
3# --
4${1:option} match {
5 case None => $0
6 case Some(res) =>
7
8} \ No newline at end of file