summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with b/emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with
new file mode 100644
index 0000000..19801eb
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/tr.with
@@ -0,0 +1,6 @@
+#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
+#name : trait T1 with T2 { .. }
+# --
+trait ${1:name} with ${2:trait} {
+ $0
+} \ No newline at end of file