]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/yasnippet/snippets/scala-mode/match
Add yasnippet.
[gnu-emacs-elpa] / packages / yasnippet / snippets / scala-mode / match
diff --git a/packages/yasnippet/snippets/scala-mode/match b/packages/yasnippet/snippets/scala-mode/match
new file mode 100644 (file)
index 0000000..44bc725
--- /dev/null
@@ -0,0 +1,7 @@
+# Author: Jonas Bonèr <jonas@jonasboner.com>
+# name: cc match { .. }
+# key: match
+# --
+${1:cc} match {
+  case ${2:pattern} => $0
+}
\ No newline at end of file